66
edits
Changes
no edit summary
</profiles>
</source>
===templates/ff-extension.xml===
<source lang="xml">
<package id='firefox-ext-&ext-name;' name='Firefox Extension &ext-name;' revision='&ext-key;' priority='15'>
<variable name='fxext' value='&ext-name;-&ext-key;'/>
<check type="file" condition="exists" path="%CommonProgramFiles%\Mozilla Shared\Extensions\%FXEXT%\install.rdf" />
<depends package-id="firefox-check" />
<install cmd='"%SOFTWARE%\packages\mozilla\install-extensions.cmd" Firefox %FXEXT% >nul'/>
<upgrade cmd='"%SOFTWARE%\packages\mozilla\install-extensions.cmd" Firefox %FXEXT% >nul'/>
<downgrade cmd='"%SOFTWARE%\packages\mozilla\install-extensions.cmd" Firefox %FXEXT% >nul'/>
<remove cmd='"%SOFTWARE%\packages\mozilla\remove-extensions.cmd" Firefox %FXEXT% >nul'/>
<remove cmd='cmd /c if exist "%CommonProgramFiles%\Mozilla Shared\Extensions\%FXEXT%\" rmdir /s /q "%CommonProgramFiles%\Mozilla Shared\Extensions\%FXEXT%\"' />
</package>
</source>
===packages/firefox-ext-skel.xml===
Skeleton file for adding new extension by copying "firefox-ext-skel.xml to "firefox-ext-(name).xml".
<source lang="xml">
<!DOCTYPE firefoxextension [ <!ENTITY ext-name "XX"> <!ENTITY ext-key "XX-00"> <!ENTITY ff-extension SYSTEM "../templates/ff-extension.xml"> ]>
<packages>&ff-extension;</packages>
</source>
Change "XX" to name of extension, "XX-00" to extension key of the file.
Example: screengrab-0.96.3-fx.xpi
* XX -> screengrab
* XX-00 -> 0.96.3-fx
===packages/firefox36.xml===