mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Ensure there's a default wailsJS dir
This commit is contained in:
@@ -81,6 +81,11 @@ func Build(options *Options) (string, error) {
|
||||
projectData.Path = cwd
|
||||
}
|
||||
|
||||
// wails js dir
|
||||
if projectData.WailsJSDir != "" {
|
||||
options.WailsJSDir = projectData.WailsJSDir
|
||||
}
|
||||
|
||||
// Set build directory
|
||||
options.BuildDirectory = filepath.Join(options.ProjectData.Path, "build", "bin")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user