[英]How to make a mac installer for electron app from windows
How can I make a mac installer for electron app from a windows pc?如何从 windows 电脑为 electron 应用程序制作 mac 安装程序? When I run
npm make
it making a windows installer only当我运行
npm make
只制作 windows 安装程序
If you want the app to be signed it has to be done on a MacOS, and also requires giving money each year to Apple: https://www.electronjs.org/docs/latest/tutorial/code-signing如果您希望对应用程序进行签名,则必须在 MacOS 上完成,并且还需要每年向 Apple 捐款: https://www.electronjs.org/docs/latest/tutorial/code-signing
If you are only distributing to Mac users who trust you, ie who are willing to ignore the security warning they get shown, then you can build for Mac on any of Mac, Windows and Linux.如果您只分发给信任您的 Mac 用户,即愿意忽略他们显示的安全警告,那么您可以在任何 Mac、Windows 和 Linux 上为 Mac 构建。 Electron-packager can do this.
电子包装器可以做到这一点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.