wails/v3/internal/runtime/runtime_dev.go

10 lines
198 B
Go

//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)