Added auto update for beta versions

Fixes #361
This commit is contained in:
kkapsner 2019-06-09 13:11:16 +02:00
parent 7eb88dab38
commit e510f78f87
7 changed files with 26 additions and 3 deletions

3
.gitignore vendored
View File

@ -1,2 +1,3 @@
printed.png
web-ext-artifacts/
web-ext-artifacts/
versions/*.xpi

4
.vscode/tasks.json vendored
View File

@ -148,7 +148,9 @@
"build",
"--overwrite-dest",
"--ignore-files",
"test"
"test",
"--ignore-files",
"versions"
],
"presentation": {
"echo": true,

View File

@ -39,6 +39,8 @@ Special thanks to:
* micrococo for the Spanish translation
* STim99 for the Russian translation
Beta versions can be found at https://canvasblocker.kkapsner.de/versions/.
If you want to support this addon you can donate to the following addresses:
* bitcoin: 159Y9BLcfHyrp6wj6f3syEuk92xkRVTiie
* bitcoin cash:qrchnszkdwv9knhg9wjucrqy43rpl4klkq7jhkc8dz

View File

@ -94,6 +94,7 @@
"applications": {
"gecko": {
"id": "CanvasBlocker@kkapsner.de",
"update_url": "https://canvasblocker.kkapsner.de/versions/updates.json",
"strict_min_version": "57.0"
}
},

View File

@ -3,7 +3,7 @@ Version 0.5.11:
-
new features:
-
- added auto update for beta versions
fixes:
- improved protection of (i)frame properties

1
versions/.htaccess Normal file
View File

@ -0,0 +1 @@
Options +Indexes

16
versions/updates.json Normal file
View File

@ -0,0 +1,16 @@
{
"addons": {
"CanvasBlocker-Beta@kkapsner.de": {
"updates": [
{
"version": "0.5.11Alpha20190608",
"update_link": "https://canvasblocker.kkapsner.de/versions/canvasblocker_beta-0.5.11Alpha20190608-an+fx.xpi"
},
{
"version": "0.5.11Alpha20190609",
"update_link": "https://canvasblocker.kkapsner.de/versions/canvasblocker_beta-0.5.11Alpha20190609-an+fx.xpi"
}
]
}
}
}