Fix compile error (#2147)

This commit is contained in:
stffabi 2022-11-29 10:01:42 +01:00 committed by GitHub
commit 3fb9169196
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {