fix(firefox): make FFZ update work again
This commit is contained in:
parent
21ff731859
commit
cce40e99d0
2 changed files with 14 additions and 14 deletions
|
@ -39,20 +39,17 @@ in
|
|||
// {
|
||||
inherit buildFirefoxXpiAddon;
|
||||
|
||||
seventv = let
|
||||
seventv = buildFirefoxXpiAddon {
|
||||
pname = "frankerfacez";
|
||||
version = "4.0";
|
||||
in
|
||||
buildFirefoxXpiAddon {
|
||||
pname = "frankerfacez";
|
||||
inherit version;
|
||||
addonId = "frankerfacez@frankerfacez.com";
|
||||
url = "https://cdn.frankerfacez.com/script/frankerfacez-${version}-an+fx.xpi";
|
||||
sha256 = "sha256-U/yAra2c+RlGSaQtHfBz9XYsoDaJ67gmPJBsFrpqoE8=";
|
||||
meta = with lib; {
|
||||
homepage = "https://www.frankerfacez.com/";
|
||||
description = "The Twitch Enhancement Suite. Get custom emotes and tons of new features you'll never want to go without.";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
addonId = "frankerfacez@frankerfacez.com";
|
||||
url = "https://cdn.frankerfacez.com/script/frankerfacez-4.0-an+fx.xpi";
|
||||
sha256 = "sha256-U/yAra2c+RlGSaQtHfBz9XYsoDaJ67gmPJBsFrpqoE8=";
|
||||
meta = with lib; {
|
||||
homepage = "https://www.frankerfacez.com/";
|
||||
description = "The Twitch Enhancement Suite. Get custom emotes and tons of new features you'll never want to go without.";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -16,6 +16,9 @@ parseFetchurl() {
|
|||
|
||||
sed -i "s,url = .*,url = \"$URL\";," "$FILE"
|
||||
sed -i "s,hash = .*,hash = \"$HASH\";," "$FILE"
|
||||
|
||||
# For Firefox addons
|
||||
sed -i "s,sha256 = .*,sha256 = \"$HASH\";," "$FILE"
|
||||
}
|
||||
|
||||
# TODO
|
||||
|
|
Loading…
Reference in a new issue