We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
electron 打包出来目前可以看见大小已经来到100mb了 如果替换为Webview2 适配在win端 优点有 1.可兼容大部分Win10/11设备 2.可减少90%的程序大小 3.具有完整的浏览器能力 至于如何实现 采用win32 cpp或者c# 预先构建一个webview2完成的基本框架 框架根据配置文件加载应用程序 对于electron部分api我们同样可用进行js绑定cpp/c#接口进行实现 最后使用nsi打包出包 在性能 启动速度 浏览器能力 包的大小上具有优势 缺点很明显就是要专门写一个webview2加载程序 需要花费人力和时间
The text was updated successfully, but these errors were encountered:
暂时先不考虑,太费时间且我对webview2还是不太熟悉,但可以放在未来计划里
Sorry, something went wrong.
No branches or pull requests
electron 打包出来目前可以看见大小已经来到100mb了
如果替换为Webview2 适配在win端
优点有
1.可兼容大部分Win10/11设备
2.可减少90%的程序大小
3.具有完整的浏览器能力
至于如何实现
采用win32 cpp或者c# 预先构建一个webview2完成的基本框架 框架根据配置文件加载应用程序 对于electron部分api我们同样可用进行js绑定cpp/c#接口进行实现 最后使用nsi打包出包
在性能 启动速度 浏览器能力 包的大小上具有优势 缺点很明显就是要专门写一个webview2加载程序 需要花费人力和时间
The text was updated successfully, but these errors were encountered: