eBlogzilla

Thursday, April 5, 2012

How to specify updateKey in Addon SDK v. 1.5

A couple of days ago I need to specify <em:updateKey> tag in install.rdf file. After some research I've realized that there is simply no way to do that. So, I've added necessary changes into the Addon SDK. You just need to replace three files in the SDK. You can download them from my site and place to the necessary place:

%SDK_HOME%/python-lib/cuddlefish/__init__.py
%SDK_HOME%/python-lib/cuddlefish/rdf.py
%SDK_HOME%/python-lib/cuddlefish/app-extension/install.rdf

Then just execute cfx xpi with --update-key "YOUR_KEY" argument and generated install.rdf file will contain <em:updateKey> tag with specified value.