pokefinder: move icon to spec-compliant location
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user