mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
Fix compile error (#2147)
This commit is contained in:
parent
993f87af97
commit
3fb9169196
1 changed files with 3 additions and 3 deletions
|
|
@ -3,9 +3,9 @@
|
|||
package app
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"flag"
|
||||
|
||||
"github.com/leaanthony/gosod"
|
||||
"github.com/wailsapp/wails/v2/internal/binding"
|
||||
|
|
@ -25,7 +25,7 @@ func (a *App) Run() error {
|
|||
a.options.OnDomReady,
|
||||
a.options.OnBeforeClose,
|
||||
}
|
||||
|
||||
|
||||
// Check for CLI Flags
|
||||
bindingFlags := flag.NewFlagSet("bindings", flag.ContinueOnError)
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ func (a *App) Run() error {
|
|||
appBindings := binding.NewBindings(a.logger, a.options.Bind, bindingExemptions, IsObfuscated())
|
||||
|
||||
appBindings.SetTsPrefix(tsPrefix)
|
||||
appBindings.SetTsPostfix(tsSuffix)
|
||||
appBindings.SetTsSuffix(tsSuffix)
|
||||
|
||||
err := generateBindings(appBindings)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue