mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 05:50:08 +08:00
[v2] Update wails.json with updated assetdir from wails dev
Makes the code consistent with the docs
This commit is contained in:
parent
d8fe011509
commit
f034163da5
@ -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 != "" {
|
||||
|
Loading…
Reference in New Issue
Block a user