mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #71255 from shreyanshk/fix/tor-browser
tor-browser-bundle-bin: fix icons
This commit is contained in:
commit
dc2f24796e
1 changed files with 5 additions and 1 deletions
|
@ -379,7 +379,11 @@ stdenv.mkDerivation rec {
|
|||
cp $desktopItem/share/applications"/"* $out/share/applications
|
||||
sed -i $out/share/applications/torbrowser.desktop \
|
||||
-e "s,Exec=.*,Exec=$out/bin/tor-browser," \
|
||||
-e "s,Icon=.*,Icon=web-browser,"
|
||||
-e "s,Icon=.*,Icon=tor-browser,"
|
||||
for i in 16 32 48 64 128; do
|
||||
mkdir -p $out/share/icons/hicolor/''${i}x''${i}/apps/
|
||||
ln -s $out/share/tor-browser/browser/chrome/icons/default/default$i.png $out/share/icons/hicolor/''${i}x''${i}/apps/tor-browser.png
|
||||
done
|
||||
|
||||
# Check installed apps
|
||||
echo "Checking bundled Tor ..."
|
||||
|
|
Loading…
Reference in a new issue