gpt4 book ai didi

electron - 为什么electron app可以上架MAC App Store?

转载 作者:行者123 更新时间:2023-12-03 12:20:17 30 4
gpt4 key购买 nike

根据这个guideline , electron app可以发布到MAC App Store。 Electron 本身基于 chromium 和 node.js,它们都基于启用 JIT 的 v8 js 引擎。但据我所知,MAC App Store 不允许使用 JIT 编译器。那么如何绕过这个限制呢?

最佳答案

只要二进制文件保持不变并且应用程序继续按照商店中宣传的方式运行,这并不违反 Apple 的开发者计划指南。

https://developer.apple.com/programs/information/Apple_Developer_Program_Information_8_12_15.pdf

3.3.2 Except as set forth in the next paragraph, an Application may not download or install executable code. Interpreted code may only beused in an Application if all scripts, code and interpreters arepackaged in the Application and not downloaded. The only exceptions tothe foregoing are scripts and code downloaded and run by Apple'sbuilt-in WebKit framework or JavascriptCore, provided that suchscripts and code do not change the primary purpose of the Applicationby providing features or functionality that are inconsistent with theintended and advertised purpose of the Application as submitted to theApp Store.

For OS X Applications submitted to Apple for distributionon the App Store, an Application may install or run interpreted orexecutable code (e.g., plug-ins and extensions) for use in conjunctionwith the Application only so long as such code: (a) does not changethe Application's submitted binary or would not otherwise beconsidered an update (as determined in Apple’s sole discretion); and(b) does not change the primary purpose of the Application byproviding features or functionality that are inconsistent with theintended and advertised purpose of the Application as submitted to theApp Store.

关于electron - 为什么electron app可以上架MAC App Store?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53919151/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com