搜尋 Mozilla 技術支援網站

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

了解更多

how to update add-ons deployed from registry automatically?

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 herb_zhang

more options

Hi guys, i have a Firefox Add-on deployed by my desktop application via registry modification mentioned in https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Alternative_distribution_options/Add-ons_in_the_enterprise#Installation_using_the_Windows_registry And i also uploaded it to AMO.

I know that when user install my add-on from AMO, firefox updates it automatically when i upload a new version. My question is for those installed from my desktop application, how do i update such plugins?

i see following description in https://developer.mozilla.org/en-US/Add-ons/Distribution: "To enable Firefox to automatically update self-distributed add-ons, the URL where Firefox can find updates needs to be included in the add-on manifest's update_link key. Self-distributed add-ons that don't have an update URL check AMO for updates and are updated to a listed version, if one is available." does it mean Firefox updates it automatically when new version is available in AMO as long as i dont have "update_url" in manifest?

Regards Herb

Hi guys, i have a Firefox Add-on deployed by my desktop application via registry modification mentioned in https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Alternative_distribution_options/Add-ons_in_the_enterprise#Installation_using_the_Windows_registry And i also uploaded it to AMO. I know that when user install my add-on from AMO, firefox updates it automatically when i upload a new version. My question is for those installed from my desktop application, how do i update such plugins? i see following description in https://developer.mozilla.org/en-US/Add-ons/Distribution: "To enable Firefox to automatically update self-distributed add-ons, the URL where Firefox can find updates needs to be included in the add-on manifest's update_link key. Self-distributed add-ons that don't have an update URL check AMO for updates and are updated to a listed version, if one is available." does it mean Firefox updates it automatically when new version is available in AMO as long as i dont have "update_url" in manifest? Regards Herb

所有回覆 (2)

more options

I think that you will have to check for updates yourself if you are installing extensions globally and not in the Firefox profile folder. Easiest would be to use a separate profile if you do not want to install the extension in the current profile folder. Firefox can only update extensions installed in the profile folder. The update notes you posted above only apply to extensions installed in the profile folder.

more options

I see. So if i deploy my add-on following https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Alternative_distribution_options/Sideloading_add-ons#Installation_using_the_standard_extension_folders, will Firefox update it automatically? How will it update if yes, from AMO or the update_url link hosted in my webstie?