1 Star 1 Fork 0

guaifish / go-webview2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

go-webview2

This is a proof of concept for embedding Webview2 into Go without CGo. It is based on webview/webview and provides a compatible API.

Notice

Because this version doesn't currently have an EdgeHTML fallback, it will not work unless you have a Webview2 runtime installed. In addition, it requires the Webview2Loader DLL in order to function. Adding an EdgeHTML fallback should be technically possible but will likely require much worse hacks since the API is not strictly COM to my knowledge.

Demo

For now, you'll need to install the Webview2 runtime, as it does not ship with Windows.

WebView2 runtime

After that, you should be able to run go-webview2 directly:

go run github.com/jchv/go-webview2/cmd/demo

This will use go-winloader to load an embedded copy of WebView2Loader.dll.

If this does not work, please try running from a directory that has an appropriate copy of WebView2Loader.dll for your GOARCH. If that worked, please file a bug so we can figure out what's wrong with go-winloader :)

空文件

简介

暂无描述 展开 收起
Go
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/guaifish/go-webview2.git
git@gitee.com:guaifish/go-webview2.git
guaifish
go-webview2
go-webview2
master

搜索帮助