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;
|
inherit buildFirefoxXpiAddon;
|
||||||
|
|
||||||
seventv = let
|
seventv = buildFirefoxXpiAddon {
|
||||||
|
pname = "frankerfacez";
|
||||||
version = "4.0";
|
version = "4.0";
|
||||||
in
|
addonId = "frankerfacez@frankerfacez.com";
|
||||||
buildFirefoxXpiAddon {
|
url = "https://cdn.frankerfacez.com/script/frankerfacez-4.0-an+fx.xpi";
|
||||||
pname = "frankerfacez";
|
sha256 = "sha256-U/yAra2c+RlGSaQtHfBz9XYsoDaJ67gmPJBsFrpqoE8=";
|
||||||
inherit version;
|
meta = with lib; {
|
||||||
addonId = "frankerfacez@frankerfacez.com";
|
homepage = "https://www.frankerfacez.com/";
|
||||||
url = "https://cdn.frankerfacez.com/script/frankerfacez-${version}-an+fx.xpi";
|
description = "The Twitch Enhancement Suite. Get custom emotes and tons of new features you'll never want to go without.";
|
||||||
sha256 = "sha256-U/yAra2c+RlGSaQtHfBz9XYsoDaJ67gmPJBsFrpqoE8=";
|
license = licenses.asl20;
|
||||||
meta = with lib; {
|
platforms = platforms.all;
|
||||||
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,url = .*,url = \"$URL\";," "$FILE"
|
||||||
sed -i "s,hash = .*,hash = \"$HASH\";," "$FILE"
|
sed -i "s,hash = .*,hash = \"$HASH\";," "$FILE"
|
||||||
|
|
||||||
|
# For Firefox addons
|
||||||
|
sed -i "s,sha256 = .*,sha256 = \"$HASH\";," "$FILE"
|
||||||
}
|
}
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
|
|
Loading…
Reference in a new issue