blob: 476edfeeee8322fcba875fd4e9f2686d0b7e6b3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Components.utils.import("resource://gre/modules/Services.jsm");
function install(data, reason) {
Services.prefs.setIntPref("bootstraptest2.installed_version", 1);
}
function startup(data, reason) {
Services.prefs.setIntPref("bootstraptest2.active_version", 1);
}
function shutdown(data, reason) {
Services.prefs.setIntPref("bootstraptest2.active_version", 0);
}
function uninstall(data, reason) {
Services.prefs.setIntPref("bootstraptest2.installed_version", 0);
}
|