Unverified Commit e2224b70 authored by dish's avatar dish Committed by GitHub
Browse files

pokefinder: move icon to spec-compliant location (#490904)

parents d63d4694 bdef41b8
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -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 = [