firefox-extensions.ublock: restrict to signed releases ONLY
This commit is contained in:
@@ -167,9 +167,12 @@ let
|
|||||||
ublock-origin = fetchVersionedAddon rec {
|
ublock-origin = fetchVersionedAddon rec {
|
||||||
extid = "uBlock0@raymondhill.net";
|
extid = "uBlock0@raymondhill.net";
|
||||||
pname = "ublock-origin";
|
pname = "ublock-origin";
|
||||||
# N.B.: a handful of versions are released unsigned
|
# N.B.: the release process seems to be to first release an unsigned .xpi,
|
||||||
url = "https://github.com/gorhill/uBlock/releases/download/${version}/uBlock0_${version}.firefox.xpi";
|
# then sign it a few days later,
|
||||||
# url = "https://github.com/gorhill/uBlock/releases/download/${version}/uBlock0_${version}.firefox.signed.xpi";
|
# and then REMOVE THE UNSIGNED RELEASE.
|
||||||
|
# therefore, only grab signed releases, to avoid having the artifact disappear out from under us :(
|
||||||
|
# url = "https://github.com/gorhill/uBlock/releases/download/${version}/uBlock0_${version}.firefox.xpi";
|
||||||
|
url = "https://github.com/gorhill/uBlock/releases/download/${version}/uBlock0_${version}.firefox.signed.xpi";
|
||||||
version = "1.63.0";
|
version = "1.63.0";
|
||||||
hash = "sha256-RqleAoNzRCRTwH/MMSi0wuo+/G875yc3csyXNcqJO+Q=";
|
hash = "sha256-RqleAoNzRCRTwH/MMSi0wuo+/G875yc3csyXNcqJO+Q=";
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user