From 7b418cdfcb2ad36230b602a4926d28d965ec9a92 Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 8 Dec 2018 17:18:17 -0800 Subject: [PATCH] Add support for automatic updates --- README.md | 2 +- manifest.json | 5 +++-- updates.json | 11 +++++++++++ 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 updates.json diff --git a/README.md b/README.md index d06a2262..3db6f954 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Bypass Paywalls for Firefox -## [Download and install v1.4.2 by clicking here](https://github.com/iamadamdev/bypass-paywalls-firefox/releases/download/v1.4.2/bypass-paywalls-firefox-v142.xpi) +## [Download and install the latest version](https://github.com/iamadamdev/bypass-paywalls-firefox/releases/download/v1.4.5/bypass_paywalls-1.4.5-an+fx.xpi) ### Bypass the following sites' paywalls with this extension: diff --git a/manifest.json b/manifest.json index d2f9c625..8a6e8ba9 100644 --- a/manifest.json +++ b/manifest.json @@ -10,7 +10,8 @@ ], "applications": { "gecko": { - "id": "iamadamdev@hotmail.com" + "id": "bypasspaywalls@bypasspaywalls.weebly.com", + "update_url": "https://raw.githubusercontent.com/iamadamdev/bypass-paywalls-firefox/master/updates.json" } }, "browser_action": { @@ -44,4 +45,4 @@ "webRequestBlocking" ], "version": "1.4.5" -} +} \ No newline at end of file diff --git a/updates.json b/updates.json new file mode 100644 index 00000000..545ccdcf --- /dev/null +++ b/updates.json @@ -0,0 +1,11 @@ + +{ + "addons": { + "bypasspaywalls@bypasspaywalls.weebly.com": { + "updates": [ + { "version": "1.4.5", + "update_link": "https://github.com/iamadamdev/bypass-paywalls-firefox/releases/download/v1.4.5/bypass_paywalls-1.4.5-an+fx.xpi" } + ] + } + } +} \ No newline at end of file