pokefinder: move icon to spec-compliant location

This commit is contained in:
pancaek
2026-02-15 17:58:20 -08:00
parent 7f042bb2c1
commit bdef41b8a1
+3 -4
View File
@@ -7,7 +7,7 @@
cmake,
python3,
qt6,
imagemagick,
iconConvTools,
gitUpdater,
}:
@@ -40,8 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
''
+ lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
install -D Source/PokeFinder $out/bin/PokeFinder
mkdir -p $out/share/pixmaps
convert "$src/Source/Form/Images/pokefinder.ico[-1]" $out/share/pixmaps/pokefinder.png
icoFileToHiColorTheme $src/Source/Form/Images/pokefinder.ico pokefinder $out
''
+ ''
runHook postInstall
@@ -54,7 +53,7 @@ stdenv.mkDerivation (finalAttrs: {
]
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
copyDesktopItems
imagemagick
iconConvTools
];
desktopItems = [