diff --git a/package.json b/package.json index 7866e75..e208d61 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/windingwind/zotero-addon-template#readme", "releasepage": "https://github.com/windingwind/zotero-addon-template/releases/latest/download/zotero-addon-template.xpi", - "updaterdf": "https://raw.githubusercontent.com/windingwind/zotero-addon-template/master/update.rdf", + "updaterdf": "https://raw.githubusercontent.com/windingwind/zotero-addon-template/master/update.json", "dependencies": { "compressing": "^1.5.1", "esbuild": "^0.14.34", diff --git a/src/prefs.ts b/src/prefs.ts index ac2b0d7..4f10cfc 100644 --- a/src/prefs.ts +++ b/src/prefs.ts @@ -1,5 +1,6 @@ -import { Addon, addonName } from "./addon"; +import Addon from "./addon"; import AddonModule from "./module"; +import { addonName } from "../package.json"; class AddonPrefs extends AddonModule { private _window: Window;