使电子应用程序与 El Capitan 兼容

Make electron app compatible with El Capitan

我是 Electron 的新手,但我为 MacOS 打包的应用程序(使用 electron-packager)在 10.12.X 和 10.13.X 上运行良好,但在 10.10.5 上运行不正常.

有没有办法让它也与 El Capitan 10.10.5 兼容?

当我尝试 运行 应用程序时,出现错误

Check with the developer to make sure SimpleMath works with this version of OS X. You may need to reinstall the application. Be sure to install any available updates for the application and OS X.

我相信您的问题已在此处的官方文档中得到解答:

Build Instructions (macOS)

文档还指出:

... Official Electron builds are built with Xcode 9.4.1, and the macOS 10.13 SDK. ...

实际上,你不能这样做。

因为他们只支持 10.11.6 版本。我已经尝试了很多次了。

但是,我找不到任何解决方案。