Add support for automatic updates

This commit is contained in:
ghost 2018-12-08 17:18:17 -08:00
parent 889f062b89
commit 7b418cdfcb
3 changed files with 15 additions and 3 deletions

View file

@ -1,6 +1,6 @@
# Bypass Paywalls for Firefox # 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: ### Bypass the following sites' paywalls with this extension:

View file

@ -10,7 +10,8 @@
], ],
"applications": { "applications": {
"gecko": { "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": { "browser_action": {
@ -44,4 +45,4 @@
"webRequestBlocking" "webRequestBlocking"
], ],
"version": "1.4.5" "version": "1.4.5"
} }

11
updates.json Normal file
View file

@ -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" }
]
}
}
}