From 4a15f1722cc6e802230843fca70fe2f12c30853e Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Mon, 26 Feb 2024 11:16:54 +0000 Subject: [PATCH] feat(extension): auto-update manifest file --- addon_updates.json | 12 ++++++++++++ extension/manifest.json | 8 +++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 addon_updates.json diff --git a/addon_updates.json b/addon_updates.json new file mode 100644 index 0000000..c8f6b28 --- /dev/null +++ b/addon_updates.json @@ -0,0 +1,12 @@ +{ + "addons": { + "{1f6e8923-f08b-4ed9-8756-f336ed308be4}": { + "updates": [ + { + "version": "0.0.1", + "update_link": "https://cdn.ashhhleyyy.dev/file/ashs-magic-bucket/extensions/aci/2f14f65a62c241d58b03-0.0.1.xpi" + } + ] + } + } +} diff --git a/extension/manifest.json b/extension/manifest.json index b1fcca7..d2c1655 100644 --- a/extension/manifest.json +++ b/extension/manifest.json @@ -21,5 +21,11 @@ }, "browser_action": { "default_popup": "src/popup.html" - } + }, + "browser_specific_settings": { + "gecko": { + "update_url": "https://git.ashhhleyyy.dev/ash/aci/raw/branch/main/addon_updates.json", + "id": "{1f6e8923-f08b-4ed9-8756-f336ed308be4}" + } + } }