问题描述
electron-builder 和 electron-packager.两者都有一些示例项目吗?哪个更适合独立的 .exe 应用程序构建?
What is main difference between electron-builder and electron-packager. Is there some example projects for both? Which is better for standalone .exe application build?
推荐答案
electron-packager 是(更新:在此提交中更改:重构:合并电子打包器")被电子制造商使用.这篇文章声明
electron-packager was (update: changed in this commit: "refactor: merge electron-packager") used by electron-builder. This article states
如果你真的想去城里,看看electron-builder它采用电子包装器产生的包装并创建自动安装程序.
If you really want to go to town, take a look at electron-builder which takes the packages produced by electron-packager and creates automated installers.
电子生成器示例
electron-builder React 样板项目
electron-packager React 样板项目,虽然有一个 GitHub问题以使用electron-builder.
这篇关于电子制造商与电子包装商的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!