mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 19:33:40 +08:00
Ensure there's a default wailsJS dir
This commit is contained in:
parent
56206729ef
commit
3fbe4f71c4
@ -81,6 +81,11 @@ func Build(options *Options) (string, error) {
|
|||||||
projectData.Path = cwd
|
projectData.Path = cwd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// wails js dir
|
||||||
|
if projectData.WailsJSDir != "" {
|
||||||
|
options.WailsJSDir = projectData.WailsJSDir
|
||||||
|
}
|
||||||
|
|
||||||
// Set build directory
|
// Set build directory
|
||||||
options.BuildDirectory = filepath.Join(options.ProjectData.Path, "build", "bin")
|
options.BuildDirectory = filepath.Join(options.ProjectData.Path, "build", "bin")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user