5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 19:31:20 +08:00

[v2] Update wails.json with updated assetdir from wails dev

Makes the code consistent with the docs
This commit is contained in:
stffabi 2021-12-07 03:31:40 +01:00
parent d8fe011509
commit f034163da5

View File

@ -309,6 +309,7 @@ func loadAndMergeProjectConfig(cwd string, flags *devFlags) (*project.Project, e
if flags.assetDir != projectConfig.AssetDirectory {
projectConfig.AssetDirectory = filepath.ToSlash(flags.assetDir)
shouldSaveConfig = true
}
if flags.assetDir != "" {