How to set maximum version when creating xfox firefox add-on?

I am trying to create an xpi package to complement firefox through the cfx tool. When I run the "cfx ​​xpi" command in the directory where my files are located, an xpi package is generated. If I tried to install this package on the current version of firefox (9.0), I get an error saying that this addon is incompatible with version 9.0 of Firefox. How to make my addon compatible with newer version of firefox?

Additional information: 1) I am very new to the development of the add-in, so I just use the reddit example given with the sdk bundle. 2) I extracted the xpi file to the folder, and inside install.rdf the maximum version is shown 8. *. I changed this to 9. *. How to make cfx use this install.rdf instead of what is never running? 3) I installed the sdk addon when Firefox 3.0 was the current version.

Hello,

+4
source share
2 answers

What version of the SDK are you using? If you are using SDK version 1.3 or an online builder, the add-ons you created must be compatible with Firefox 9. Here you can download the latest version of the SDK:

https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/addon-sdk-1.3.zip

+4
source

after adding the addon to AMO, you can change the supported versions there.

+1
source

Source: https://habr.com/ru/post/1387723/


All Articles