简体   繁体   English

如何从 windows 为 electron 应用程序制作 mac 安装程序

[英]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.

相关问题 在 Windows、Mac 和 Linux 上分发 Electron 应用程序 - Distributing an Electron app on Windows, Mac and Linux 添加步骤安装程序电子应用程序 - Add step installer electron app 如何在Linux / Mac / Windows上的节点/电子应用程序中获取浏览器活动标签URL? - How to get browser active tab URL in node/electron app on Linux/Mac/Windows? 我如何确保只能从电子窗口内部访问Electron Express应用 - How do i make sure that Electron express app is only accessible from inside electron window 如何在 redux 商店为两个 windows 在 Electron - How to make on redux store for two windows in Electron 如何在 Electron 中制作多个 Svelte windows? - How to make multiple Svelte windows in Electron? 直接从应用程序中删除mac electronic应用程序时如何清除用户数据? - how to clear user data while delete mac electron app from application directly? 如何制作一个 electron 反应应用程序,它有 2 个 windows - 一个通用的一个和一个用于托盘 - How to make an electron react app, which has 2 windows - a general one and one for the Tray 如何在 Windows 中的电子应用程序中授予音频权限? - How to grant permission to audio in electron app in Windows? 如何在捆绑电子应用程序之前对其进行编码(对于Mac)? - How do I code sign an Electron app before bundling it (for Mac)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM