Fixed dialogs on macOS. Update WML example to use compiled runtime.

This commit is contained in:
Lea Anthony
2024-01-25 21:00:33 +11:00
parent 773bdf8ea2
commit 7674f8eb2b
43 changed files with 395 additions and 1172 deletions
+10
View File
@@ -0,0 +1,10 @@
//go:build !production
package runtime
import (
"fmt"
"runtime"
)
var environment = fmt.Sprintf(`window._wails.environment={"OS":"%s","Arch":"%s","Debug":true};`, runtime.GOOS, runtime.GOARCH)