搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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