66
edits
Changes
→Firefox Extension Templates
== Firefox Extension Templates ==
As stated in: [[Firefox#Firefox_3_extensions]] the "install-global-extension" switch doesn't work starting with Firefox 3.6. So there is a better and much smoother way deploying extensions which makes adding a new extension to a WPKG repo about 80 percent easier: '''templating'''.
''packages/firefox-ext-adblock_plus.xml''
</source>
What we see here: creating a new extension package is just as easy as putting the extension name and version key in, so that the variables "ext-name" and "ext-key" build together with "-" the name of the xpi file: ''screengrab-0.96.3-fx.xpi''. The following template is used together with install-extensions.cmd and remove-extensions.cmd. For your convenience, you can find all needed files here: [[Firefox_ext_install_downloads]].
''templates/ff-extension.xml''