webviewloader

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

README

This directory contains the embedded WebView2Loader SDK files, as well as the code for loading the WebView2Loader.

此目录包含嵌入式 WebView2Loader SDK 文件,以及加载 WebView2Loader 的代码。

The WebView2 SDK is redistributed under the 3-Clause BSD License. A copy of the license is included in the sdk folder.

WebView2 SDK 根据 3-Clause BSD 许可证重新分发。许可证的副本包含在 sdk 文件夹中

Documentation

Index

Constants

This section is empty.

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:

-1 = v1 < v2
 0 = v1 == v2
 1 = 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 GetInstalledVersion

func GetInstalledVersion() (string, error)

GetInstalledVersion returns the installed version of the webview2 runtime. 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