From 7de5e38d812d07df156704733215f7c056e1c5cf Mon Sep 17 00:00:00 2001 From: xiangyu <3170102889@zju.edu.cn> Date: Thu, 15 Dec 2022 11:40:34 +0800 Subject: [PATCH] fix: update files --- build.js | 3 +++ update-template.rdf | 30 ++++++++++++++++++++++++++++++ update.rdf | 10 +++++----- 3 files changed, 38 insertions(+), 5 deletions(-) create mode 100644 update-template.rdf diff --git a/build.js b/build.js index 35b35f8..ecb7f6f 100644 --- a/build.js +++ b/build.js @@ -97,6 +97,7 @@ async function main() { copyFolderRecursiveSync("addon", buildDir); copyFileSync("update-template.json", "update.json"); + copyFileSync("update-template.rdf", "update.rdf"); await esbuild .build({ @@ -119,8 +120,10 @@ async function main() { path.join(buildDir, "**/*.json"), path.join(buildDir, "addon/defaults", "**/*.js"), path.join(buildDir, "addon/chrome.manifest"), + path.join(buildDir, "addon/manifest.json"), path.join(buildDir, "addon/bootstrap.js"), "update.json", + "update.rdf", ], from: [ /__author__/g, diff --git a/update-template.rdf b/update-template.rdf new file mode 100644 index 0000000..b82d92f --- /dev/null +++ b/update-template.rdf @@ -0,0 +1,30 @@ + + + + + + + + __buildVersion__ + + + zotero@chnm.gmu.edu + 6.999 + * + __releasepage__ + + + + + juris-m@juris-m.github.io + 6.999 + * + __releasepage__ + + + + + + + + \ No newline at end of file diff --git a/update.rdf b/update.rdf index c237fc1..379d578 100644 --- a/update.rdf +++ b/update.rdf @@ -1,6 +1,6 @@ - + @@ -9,17 +9,17 @@ zotero@chnm.gmu.edu - 5.0 + 6.999 * - __releasepage__ + https://github.com/windingwind/zotero-addon-template/releases/latest/download/zotero-addon-template.xpi juris-m@juris-m.github.io - 5.0 + 6.999 * - __releasepage__ + https://github.com/windingwind/zotero-addon-template/releases/latest/download/zotero-addon-template.xpi