diff --git a/webviewloader/env_create.go b/webviewloader/env_create.go index c99aad3..625694f 100644 --- a/webviewloader/env_create.go +++ b/webviewloader/env_create.go @@ -14,7 +14,7 @@ import ( ) func init() { - fmt.Println("DEB | Using go webview2loader") + UsingGoWebview2Loader = true preventEnvAndRegistryOverrides() } diff --git a/webviewloader/version.go b/webviewloader/version.go index cf278d9..9e40875 100644 --- a/webviewloader/version.go +++ b/webviewloader/version.go @@ -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