From d2822a8625b0fcb2fd9bab78bedb4a5e29691fd8 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sat, 24 Feb 2018 09:19:43 -0500 Subject: [PATCH] fix template as per https://developer.mozilla.org/en-US/Add-ons/Updates --- platform/webext/updates.template.json | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/platform/webext/updates.template.json b/platform/webext/updates.template.json index 71ef8ef16..836cc5d90 100644 --- a/platform/webext/updates.template.json +++ b/platform/webext/updates.template.json @@ -1,11 +1,14 @@ { "addons": { "uBlock0@raymondhill.net": { - "updates": { - "update_link": "https://github.com/gorhill/uBlock/releases/download/{version}/uBlock0.webext.signed.xpi", - "version": "{version}", - "applications": { "gecko": { "strict_min_version": "52" } } - } + "updates": [ + { + "version": "{version}", + "applications": { "gecko": { "strict_min_version": "52" } }, + "update_info_url": "https://github.com/gorhill/uBlock/releases/tag/{version}", + "update_link": "https://github.com/gorhill/uBlock/releases/download/{version}/uBlock0.webext.signed.xpi" + } + ] } } }