mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
[v2] Omit empty assetdir and reloaddirs in wails.json
This commit is contained in:
parent
69c14d2a5d
commit
e7bb3b3e83
1 changed files with 2 additions and 2 deletions
|
|
@ -13,9 +13,9 @@ type Project struct {
|
|||
|
||||
/*** Application Data ***/
|
||||
Name string `json:"name"`
|
||||
AssetDirectory string `json:"assetdir"`
|
||||
AssetDirectory string `json:"assetdir,omitempty"`
|
||||
|
||||
ReloadDirectories string `json:"reloaddirs"`
|
||||
ReloadDirectories string `json:"reloaddirs,omitempty"`
|
||||
|
||||
BuildCommand string `json:"frontend:build"`
|
||||
InstallCommand string `json:"frontend:install"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue