Writing a Firefox extension

From AIRWiki
Revision as of 13:03, 2 November 2009 by DavideEynard (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Meta (environment setup, profiles, debugging etc):


  • This is a shell script that can be used to automatically package the extension in one xpi file:
rm extension.xpi
mkdir -p build/chrome
cd chrome/extension
zip -r extension.jar .
mv extension.jar ../../build/chrome
cd ../..
cp install.* build
cd build
zip -r extension.xpi .
mv extension.xpi ..
cd ..
rm -rf build