wrapFirefox: update icon location
The icons for Firefox are in a new location in the unwrapped package; the wrapper is updated to reflect that. This should have no effect on other browers that provide their own icons in the default XDG location.
This commit is contained in:
parent
8bef1a5cb8
commit
01f37880f3
@ -130,9 +130,11 @@ let
|
|||||||
mkdir -p "$out/share"
|
mkdir -p "$out/share"
|
||||||
ln -s "${browser}/share/icons" "$out/share/icons"
|
ln -s "${browser}/share/icons" "$out/share/icons"
|
||||||
else
|
else
|
||||||
mkdir -p "$out/share/icons/hicolor/128x128/apps"
|
for res in 16 32 48 64 128; do
|
||||||
ln -s "${browser}/lib/${browserName}-"*"/browser/icons/mozicon128.png" \
|
mkdir -p "$out/share/icons/hicolor/''${res}x''${res}/apps"
|
||||||
"$out/share/icons/hicolor/128x128/apps/${browserName}.png"
|
ln -s "${browser}/lib/${browserName}/browser/chrome/icons/default/default''${res}.png" \
|
||||||
|
"$out/share/icons/hicolor/''${res}x''${res}/apps/${browserName}.png"
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install -D -t $out/share/applications $desktopItem/share/applications/*
|
install -D -t $out/share/applications $desktopItem/share/applications/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user