package
0.0.0-20240812064333-3d75d8aeecff
Repository: https://github.com/mzky/go-webview2.git
Documentation: pkg.go.dev
# README
This directory contains the embedded WebView2Loader SDK files, as well as the code for loading the WebView2Loader.
The WebView2 SDK is redistributed under the 3-Clause BSD License. A copy of the license is included in the sdk folder.
# Functions
CompareBrowserVersions will compare the 2 given versions and return:
-1 = v1 < v2 0 = v1 == v2 1 = v1 > v2.
CreateCoreWebView2EnvironmentWithOptions tries to load WebviewLoader2 and call the CreateCoreWebView2EnvironmentWithOptions routine.
GetInstalledVersion returns the installed version of the webview2 runtime.
GetInstalledWebViewVersion returns the installed version of the webview2 runtime.
InstallUsingBootstrapper will extract the embedded bootstrapper from Microsoft and run it to install the latest version of the runtime.
# Variables
go:embed sdk/x64/WebView2Loader.dll.