ryujinx: fix .desktop

This commit is contained in:
Dave Gallant 2024-03-08 19:34:13 -05:00
parent b046a81451
commit df9460b757
No known key found for this signature in database
GPG key ID: F4D5532DF5744747

View file

@ -94,11 +94,12 @@ buildDotnetModule rec {
pushd ${src}/distribution/linux
install -D ./Ryujinx.desktop $out/share/applications/Ryujinx.desktop
install -D ./Ryujinx.sh $out/bin/Ryujinx.sh
install -D ./mime/Ryujinx.xml $out/share/mime/packages/Ryujinx.xml
install -D ../misc/Logo.svg $out/share/icons/hicolor/scalable/apps/Ryujinx.svg
substituteInPlace $out/share/applications/Ryujinx.desktop \
--replace "Ryujinx %f" "$out/bin/Ryujinx %f"
--replace "Ryujinx.sh %f" "$out/bin/Ryujinx.sh %f"
ln -s $out/bin/Ryujinx $out/bin/ryujinx