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,14 +39,11 @@ in
|
||||||
// {
|
// {
|
||||||
inherit buildFirefoxXpiAddon;
|
inherit buildFirefoxXpiAddon;
|
||||||
|
|
||||||
seventv = let
|
seventv = buildFirefoxXpiAddon {
|
||||||
version = "4.0";
|
|
||||||
in
|
|
||||||
buildFirefoxXpiAddon {
|
|
||||||
pname = "frankerfacez";
|
pname = "frankerfacez";
|
||||||
inherit version;
|
version = "4.0";
|
||||||
addonId = "frankerfacez@frankerfacez.com";
|
addonId = "frankerfacez@frankerfacez.com";
|
||||||
url = "https://cdn.frankerfacez.com/script/frankerfacez-${version}-an+fx.xpi";
|
url = "https://cdn.frankerfacez.com/script/frankerfacez-4.0-an+fx.xpi";
|
||||||
sha256 = "sha256-U/yAra2c+RlGSaQtHfBz9XYsoDaJ67gmPJBsFrpqoE8=";
|
sha256 = "sha256-U/yAra2c+RlGSaQtHfBz9XYsoDaJ67gmPJBsFrpqoE8=";
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.frankerfacez.com/";
|
homepage = "https://www.frankerfacez.com/";
|
||||||
|
|
|
@ -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