Reputation: 2467
I was reading the cfx tool documentation, about how to create an addon and make it autoupdade automaticaly. Unfortunately when I compile my addon to an xpi file with this line:
cfx xpi --update-link "http://mypage.com/firefox/latest"
--update-url "http://mypage.com/firefox/update_rdf"
I always get complains that the resulting xpi file is incompatible with Firefox 12.0. When I remove the --update-link
and --update-url
arguments the xpi file works. Am I missing something?
I saw this answer but unfortunately that solutions didn't work for me.
Upvotes: 0
Views: 219
Reputation: 57671
Two things you should do:
update.rdf
file to http://mypage.com/firefox/update_rdf
, you probably have an older file there. This file also contains compatibility information for the extension and Firefox trusts this information more than install.rdf
inside the extension (this is useful to mark an extension as compatible with a newer Firefox version without actually updating the extension package).Upvotes: 1