summaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-07-17 21:58:42 -0400
committerFreya Murphy <freya@freyacat.org>2025-07-17 21:58:42 -0400
commitea61318c7f60d4de2de47ab3a432a7b032fdacec (patch)
tree3fb10b9600024f3fe2ecfd0ee8872237bf816987 /pkgs
parentunofficial-homestuck-collection: add copyDesktopItems hook (diff)
downloaddotfiles-nix-ea61318c7f60d4de2de47ab3a432a7b032fdacec.tar.gz
dotfiles-nix-ea61318c7f60d4de2de47ab3a432a7b032fdacec.tar.bz2
dotfiles-nix-ea61318c7f60d4de2de47ab3a432a7b032fdacec.zip
unofficial-homestuck-collection: fix icons
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/unofficial-homestuck-collection/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/unofficial-homestuck-collection/default.nix b/pkgs/unofficial-homestuck-collection/default.nix
index dd29e04..3096d4d 100644
--- a/pkgs/unofficial-homestuck-collection/default.nix
+++ b/pkgs/unofficial-homestuck-collection/default.nix
@@ -131,7 +131,16 @@ stdenv.mkDerivation (finalAttrs: {
installPhase = ''
runHook preInstall
- install -Dm644 public/icon.png $out/share/icons/hicolor/1024x1024/apps/unofficial-homestuck-collection.png
+ install -Dm644 build/icons/16x16.png $out/share/icons/hicolor/16x16/apps/unofficial-homestuck-collection.png
+ install -Dm644 build/icons/24x24.png $out/share/icons/hicolor/24x24/apps/unofficial-homestuck-collection.png
+ install -Dm644 build/icons/32x32.png $out/share/icons/hicolor/32x32/apps/unofficial-homestuck-collection.png
+ install -Dm644 build/icons/48x48.png $out/share/icons/hicolor/48x48/apps/unofficial-homestuck-collection.png
+ install -Dm644 build/icons/64x64.png $out/share/icons/hicolor/64x64/apps/unofficial-homestuck-collection.png
+ install -Dm644 build/icons/128x128.png $out/share/icons/hicolor/128x128/apps/unofficial-homestuck-collection.png
+ install -Dm644 build/icons/256x256.png $out/share/icons/hicolor/256x256/apps/unofficial-homestuck-collection.png
+ install -Dm644 build/icons/512x512.png $out/share/icons/hicolor/512x512/apps/unofficial-homestuck-collection.png
+ install -Dm644 build/icons/1024x1024.png $out/share/icons/hicolor/1024x1024/apps/unofficial-homestuck-collection.png
+
mkdir -p $out/share/unofficial-homestuck-collection $out/bin
cp -r dist_electron/linux-unpacked/* $out/share/unofficial-homestuck-collection
makeWrapper $out/share/unofficial-homestuck-collection/unofficial-homestuck-collection $out/bin/unofficial-homestuck-collection \