-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap.js
29 lines (23 loc) · 854 Bytes
/
bootstrap.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
var ZotFileRecovery;
function install() {
Zotero.debug('ZotFileRecovery: Installed');
}
async function startup({ id, version, rootURI}) {
Zotero.debug('ZotFileRecovery: Starting');
Zotero.debug('ZotFileRecovery rootURI: ' + rootURI);
Services.scriptloader.loadSubScript(rootURI + 'ZotFileRecovery.js');
Services.scriptloader.loadSubScript(rootURI + 'ZotFileRecovery_menus.js');
Zotero.ZotFileRecovery.init({ id, version, rootURI });
ZotFileRecovery_Menus.init();
}
function shutdown() {
Zotero.debug('ZotFileRecovery: Shutting down');
// ZotFileRecovery.removeFromAllWindows();
// Zotero.ZotFileRecovery.destroy();
ZotFileRecovery_Menus.destroy();
Zotero.ZotFileRecovery = undefined;
ZotFileRecovery_Menus = undefined;
}
function uninstall() {
Zotero.debug('ZotFileRecovery: Uninstalled');
}