Compare commits

...

2 Commits

Author SHA1 Message Date
Lea Anthony
6f94b047ab v1.6.0-pre6 2020-06-06 14:41:39 +10:00
Lea Anthony
37a56ead4d fix: Project options getting overwritten 2020-06-06 14:40:33 +10:00
2 changed files with 5 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
package cmd
// Version - Wails version
const Version = "v1.6.0-pre5"
const Version = "v1.6.0-pre6"

View File

@@ -35,8 +35,6 @@ func init() {
// Project options
projectOptions := &cmd.ProjectOptions{}
projectOptions.Verbose = verbose
projectOptions.Platform = runtime.GOOS
// Check we are in project directory
// Check project.json loads correctly
@@ -46,6 +44,10 @@ func init() {
return err
}
// Set project options
projectOptions.Verbose = verbose
projectOptions.Platform = runtime.GOOS
// Save project directory
projectDir := fs.Cwd()