Felix Fung
Felix Fung

Reputation: 1757

How do you specify a minimum required version with the Mozilla addon-sdk cfx tool?

Building a traditional Firefox extension, you would set the minVersion field in the install.rdf. Since that is abstracted away by package.json and cfx, is there any way to set a minVersion?

Motivation: Because of certain changes to behavior in the contextMenu API, my add-on only works as expected from a certain versions of the Addon-SDK and upwards. I'd like to enforce this constraint.

Upvotes: 4

Views: 545

Answers (1)

paa
paa

Reputation: 5054

From the Add-on SDK docs
Changing minVersion and maxVersion Values

Upvotes: 4

Related Questions