Skip to content
Discussion options

You must be logged in to vote

import "github.com/wailsapp/wails/v2/pkg/runtime"
...
var ctx context.Context
runtime.Environment(ctx).BuildType


You can even take the OS and the architecture, which made me stop using standard "runtime" for now. Documentation won't tell you much, but you can test the outputs by panic()ing the startup after running wails dev.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by YairLevi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants