mirror of
https://github.com/Ghibranalj/go-webview-selector.git
synced 2026-03-31 16:39:36 +07:00
No description
- Go 100%
| cmd/demo | ||
| go.mod | ||
| go.sum | ||
| LICENSE.md | ||
| README.md | ||
| shim_other.go | ||
| shim_windows.go | ||
Go Webview Selector
This library is a tiny shim that provides access to a native webview for a given platform. It selects between two implementations:
-
On Windows, go-webview2 will be chosen. It embeds a copy of WebView2Loader, so it should work out of the box on any setup that has the WebView 2 runtime installed, which should include up-to-date Windows 10 installations and Windows 11. (As well, WebView 2 runtime is available going backwards to Windows 7.) This library does not require CGo and thus will build and run with
CGO_ENABLED=0. -
On other operating systems, webview/webview will be used. This runtime requires CGo, but supports a wide variety of platforms.