mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
[v2] Omit empty assetdir and reloaddirs in wails.json
This commit is contained in:
@@ -13,9 +13,9 @@ type Project struct {
|
|||||||
|
|
||||||
/*** Application Data ***/
|
/*** Application Data ***/
|
||||||
Name string `json:"name"`
|
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"`
|
BuildCommand string `json:"frontend:build"`
|
||||||
InstallCommand string `json:"frontend:install"`
|
InstallCommand string `json:"frontend:install"`
|
||||||
|
|||||||
Reference in New Issue
Block a user