mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Fix: use correct json value for buildtype
This commit is contained in:
@@ -67,12 +67,14 @@ func Quit(ctx context.Context) {
|
||||
appFrontend.Quit()
|
||||
}
|
||||
|
||||
// EnvironmentInfo contains information about the environment
|
||||
type EnvironmentInfo struct {
|
||||
BuildType string `json:"buildtype"`
|
||||
BuildType string `json:"buildType"`
|
||||
Platform string `json:"platform"`
|
||||
Arch string `json:"arch"`
|
||||
}
|
||||
|
||||
// Environment returns information about the environment
|
||||
func Environment(ctx context.Context) EnvironmentInfo {
|
||||
var result EnvironmentInfo
|
||||
buildType := ctx.Value("buildtype")
|
||||
|
||||
Reference in New Issue
Block a user