mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 21:10:54 +08:00
Fixes #1070
This commit is contained in:
parent
4afbf00e45
commit
4d0b0947d2
@ -412,6 +412,9 @@ func (b *BaseBuilder) CompileProject(options *Options) error {
|
||||
}
|
||||
|
||||
func generateRuntimeWrapper(options *Options) error {
|
||||
if options.WailsJSDir == "" {
|
||||
options.WailsJSDir = filepath.Join("./frontend")
|
||||
}
|
||||
wrapperDir := filepath.Join(options.WailsJSDir, "wailsjs", "runtime")
|
||||
_ = os.RemoveAll(wrapperDir)
|
||||
extractor := gosod.New(wrapper.RuntimeWrapper)
|
||||
|
Loading…
Reference in New Issue
Block a user