Merge pull request #288021 from Stunkymonkey/torcs-desktop-item

torcs: add desktop item
This commit is contained in:
Pol Dellaiera 2024-02-12 19:56:50 +01:00 committed by GitHub
commit 5e0120365f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,6 +30,11 @@ stdenv.mkDerivation rec {
})
];
postInstall = ''
install -D -m644 Ticon.png $out/share/pixmaps/torcs.png
install -D -m644 torcs.desktop $out/share/applications/torcs.desktop
'';
postPatch = ''
sed -i -e s,/bin/bash,`type -P bash`, src/linux/torcs.in
'';