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