mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
Ensure there's a default wailsJS dir
This commit is contained in:
parent
56206729ef
commit
3fbe4f71c4
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue