wargus: fixup path in .desktop file

This commit is contained in:
Astro 2022-08-06 01:31:19 +02:00 committed by ehmry
parent 6333128137
commit 7727c70a52

View file

@ -46,6 +46,8 @@ stdenv.mkDerivation rec {
postInstall = ''
makeWrapper $out/games/wargus $out/bin/wargus \
--prefix PATH : ${lib.makeBinPath [ "$out" ]}
substituteInPlace $out/share/applications/wargus.desktop \
--replace $out/games/wargus $out/bin/wargus
$out/bin/wartool -v -r ${data} $out/share/games/stratagus/wargus
ln -s $out/share/games/stratagus/wargus/{contrib/black_title.png,graphics/ui/black_title.png}