mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-08-10 13:29:05 +00:00
18 lines
465 B
JavaScript
18 lines
465 B
JavaScript
Components.utils.import("resource://gre/modules/Services.jsm");
|
|
|
|
function install(data, reason) {
|
|
Services.prefs.setIntPref("jetpacktest.installed_version", 1);
|
|
}
|
|
|
|
function startup(data, reason) {
|
|
Services.prefs.setIntPref("jetpacktest.active_version", 1);
|
|
}
|
|
|
|
function shutdown(data, reason) {
|
|
Services.prefs.setIntPref("jetpacktest.active_version", 0);
|
|
}
|
|
|
|
function uninstall(data, reason) {
|
|
Services.prefs.setIntPref("jetpacktest.installed_version", 0);
|
|
}
|