Skip to content

Instantly share code, notes, and snippets.

@nmaier
Created June 25, 2014 09:01
Show Gist options
  • Save nmaier/3a28d565811989c7deef to your computer and use it in GitHub Desktop.
Save nmaier/3a28d565811989c7deef to your computer and use it in GitHub Desktop.
function uninstall() {
Components.utils.reportError("uninstall!");
}
function startup() {
Components.utils.reportError("startup!");
}
function shutdown() {
Components.utils.reportError("shutdown!");
}
<?xml version="1.0"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>test@test</em:id>
<em:name>boostrap-test</em:name>
<em:version>9</em:version>
<em:creator>Nils Maier</em:creator>
<em:bootstrap>true</em:bootstrap>
<em:type>2</em:type>
<!-- Firefox -->
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>10.0</em:minVersion>
<em:maxVersion>21.*</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
</RDF>
@nmaier
Copy link
Author

nmaier commented Jun 25, 2014

The install.rdf is just a copy/paste job... The min/maxVersions are a relict of that. :p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment