diff --git a/zotero-plugin.config.ts b/zotero-plugin.config.ts index d1659e0b..153b3a88 100644 --- a/zotero-plugin.config.ts +++ b/zotero-plugin.config.ts @@ -8,9 +8,8 @@ export default defineConfig({ name: pkg.config.addonName, id: pkg.config.addonID, namespace: pkg.config.addonRef, - updateURL: `https://github.com/{{owner}}/{{repo}}/releases/download/release/${ - pkg.version.includes("-") ? "update-beta.json" : "update.json" - }`, + updateURL: `https://github.com/{{owner}}/{{repo}}/releases/download/release/${pkg.version.includes("-") ? "update-beta.json" : "update.json" + }`, xpiDownloadLink: "https://github.com/{{owner}}/{{repo}}/releases/download/v{{version}}/{{xpiName}}.xpi", @@ -40,15 +39,15 @@ export default defineConfig({ }, ], // If you want to checkout update.json into the repository, uncomment the following lines: - // makeUpdateJson: { - // hash: false, - // }, - // hooks: { - // "build:makeUpdateJSON": (ctx) => { - // copyFileSync("build/update.json", "update.json"); - // copyFileSync("build/update-beta.json", "update-beta.json"); - // }, - // }, + makeUpdateJson: { + hash: false, + }, + hooks: { + "build:makeUpdateJSON": (ctx) => { + copyFileSync("build/update.json", "update.json"); + copyFileSync("build/update-beta.json", "update-beta.json"); + }, + }, }, // release: { // bumpp: {