Merge pull request #135932 from ejpcmac/fix-exodus-desktop

This commit is contained in:
Sandro 2021-08-28 01:03:07 +02:00 committed by GitHub
commit f4e25addc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
ln -s $out/bin/Exodus $out/bin/exodus
ln -s $out/exodus.desktop $out/share/applications
substituteInPlace $out/share/applications/exodus.desktop \
--replace 'Exec=bash -c "cd `dirname %k` && ./Exodus"' "Exec=Exodus"
--replace 'Exec=bash -c "cd \`dirname %k\` && ./Exodus %u"' "Exec=Exodus %u"
'';
dontPatchELF = true;