diff --git a/v3/examples/contextmenus/assets/index.html b/v3/examples/contextmenus/assets/index.html index 5994f4f2d..23224084d 100644 --- a/v3/examples/contextmenus/assets/index.html +++ b/v3/examples/contextmenus/assets/index.html @@ -3,16 +3,33 @@ Title - + +

Context Menu Demo

You need to run this example in production for it to work : -

go run -tags production .
-

+
go run -tags production .
+

1

diff --git a/v3/internal/runtime/runtime_prod.go b/v3/internal/runtime/runtime_prod.go index 5fdae3eae..ec3613551 100644 --- a/v3/internal/runtime/runtime_prod.go +++ b/v3/internal/runtime/runtime_prod.go @@ -5,4 +5,4 @@ package runtime import "fmt" import goruntime "runtime" -var environment = fmt.Sprintf(`window._wails.environment={"OS":"%s","Arch":"%s","Debug":true};`, goruntime.GOOS, goruntime.GOARCH) +var environment = fmt.Sprintf(`window._wails.environment={"OS":"%s","Arch":"%s","Debug":false};`, goruntime.GOOS, goruntime.GOARCH)