diff --git a/src/bootstrap.js b/src/bootstrap.js index 20a7b1b..b270d45 100644 --- a/src/bootstrap.js +++ b/src/bootstrap.js @@ -10,13 +10,13 @@ function install() { async function startup({ id, version, rootURI }) { log("Starting Zotero OCR"); - + Zotero.PreferencePanes.register({ pluginID: 'zotero-ocr@bib.uni-mannheim.de', src: rootURI + 'prefs.xhtml', //scripts: [rootURI + 'prefs.js'] }); - + Services.scriptloader.loadSubScript(rootURI + 'zotero-ocr.js'); ZoteroOCR.init({ id, version, rootURI }); ZoteroOCR.addToAllWindows(); diff --git a/src/manifest.json b/src/manifest.json index ac6877c..2e9fe27 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -11,9 +11,9 @@ "applications": { "zotero": { "id": "zotero-ocr@bib.uni-mannheim.de", - "update_url": "https://raw.githubusercontent.com/UB-Mannheim/zotero-ocr/master/update.json", + "update_url": "https://raw.githubusercontent.com/UB-Mannheim/zotero-ocr/master/updates.json", "strict_min_version": "6.999", "strict_max_version": "7.0.*" } } -} \ No newline at end of file +} diff --git a/src/updates.json b/updates.json similarity index 100% rename from src/updates.json rename to updates.json