Skip to content

Commit

Permalink
Add UsingGoWebview2Loader instead of printing output
Browse files Browse the repository at this point in the history
  • Loading branch information
leaanthony committed Aug 12, 2023
1 parent 0fe39fe commit b73b6b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion webviewloader/env_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

func init() {
fmt.Println("DEB | Using go webview2loader")
UsingGoWebview2Loader = true
preventEnvAndRegistryOverrides()
}

Expand Down
3 changes: 3 additions & 0 deletions webviewloader/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import (
"strings"
)

// UsingGoWebview2Loader is set to true when the go webview2loader is used.
var UsingGoWebview2Loader bool

// CompareBrowserVersions will compare the 2 given versions and return:
//
// -1 = v1 < v2
Expand Down

0 comments on commit b73b6b6

Please sign in to comment.