gamepad-tool: remove absolute icon path

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2024-11-18 16:43:09 +01:00
parent 97ac49b09c
commit 824cbe9922
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951

View File

@ -31,7 +31,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
cp -r usr/share/icons $out/share/icons
substitute usr/share/applications/gamepad-tool-debian.desktop \
$out/share/applications/gamepad-tool.desktop \
--replace "/usr/share/icons/hicolor/256x256/apps/gamepad-tool.png" "$out/share/icons/hicolor/256x256/apps/gamepad-tool.png"
--replace-fail "/usr/share/icons/hicolor/256x256/apps/gamepad-tool.png" "gamepad-tool"
runHook postInstall
'';