为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How do we package an extension for publishing that contains a native app?

more options

In order to use a native app in Windows, we have to create Windows registry keys that tell Mozilla/Firefox where the native app is located, the name of the native app, etc. We also have to copy files on the user's system to that location. Is there a standard installer for native apps that we should use? I currently have a batch file that creates a folder, copies files, and registers the Windows registry keys.

Instructions for submitting the add-on indicate that we should zip certain standard files, but there does not appear to be dedicated discussion about packaging the native app components.

In order to use a native app in Windows, we have to create Windows registry keys that tell Mozilla/Firefox where the native app is located, the name of the native app, etc. We also have to copy files on the user's system to that location. Is there a standard installer for native apps that we should use? I currently have a batch file that creates a folder, copies files, and registers the Windows registry keys. Instructions for submitting the add-on indicate that we should zip certain standard files, but there does not appear to be dedicated discussion about packaging the native app components.

被采纳的解决方案

This forum focuses on end user support. The Add-ons team has a forum for add-on developers over here:

https://discourse.mozilla.org/c/add-ons/development

定位到答案原位置 👍 1

所有回复 (3)

more options

You should contact Microsoft since Windows product is their domain. FF is a Browser not something like a O/S like Windows.

more options

Until somebody else comes up with a proper answer for you, you might find this interesting reading material :

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_manifests

and also :

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging

more options

选择的解决方案

This forum focuses on end user support. The Add-ons team has a forum for add-on developers over here:

https://discourse.mozilla.org/c/add-ons/development