mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 06:39:30 +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
|
||||
}
|
||||
|
||||
// wails js dir
|
||||
if projectData.WailsJSDir != "" {
|
||||
options.WailsJSDir = projectData.WailsJSDir
|
||||
}
|
||||
|
||||
// Set build directory
|
||||
options.BuildDirectory = filepath.Join(options.ProjectData.Path, "build", "bin")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user