webviewloader

package
v2.0.0-beta.38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2022 License: MIT, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

Variables

View Source
var WebView2Loader []byte

Functions

func CompareBrowserVersions

func CompareBrowserVersions(v1 string, v2 string) (int, error)

CompareBrowserVersions will compare the 2 given versions and return:

   Less than zero: v1 < v2
             zero: v1 == v2
Greater than zero: v1 > v2

func CreateCoreWebView2EnvironmentWithOptions

func CreateCoreWebView2EnvironmentWithOptions(browserExecutableFolder, userDataFolder *uint16, environmentOptions uintptr, environmentCompletedHandle uintptr) (uintptr, error)

CreateCoreWebView2EnvironmentWithOptions tries to load WebviewLoader2 and call the CreateCoreWebView2EnvironmentWithOptions routine.

func GetWebviewVersion

func GetWebviewVersion(path string) (string, error)

GetWebviewVersion returns version of the webview2 runtime. If path is empty, it will try to find installed webview2 is the system. If there is no version installed, a blank string is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL