Adjust desktop file for citra and citra-room

This should make the `citra.AppImage` and `citra-room.AppImage` work. It previously tried to start the `citra-qt` binary, because of the desktop file.
This commit is contained in:
TGP17 2023-10-06 23:06:54 +02:00 committed by GitHub
parent aa681d2c0f
commit 9ed4f8a85a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,9 @@ rm -vf AppDir-qt/usr/bin/citra AppDir-qt/usr/bin/citra-room
mv ./AppDir/usr/share/applications/citra-qt.desktop ./AppDir/usr/share/applications/citra.desktop mv ./AppDir/usr/share/applications/citra-qt.desktop ./AppDir/usr/share/applications/citra.desktop
mv ./AppDir-room/usr/share/applications/citra-qt.desktop ./AppDir-room/usr/share/applications/citra-room.desktop mv ./AppDir-room/usr/share/applications/citra-qt.desktop ./AppDir-room/usr/share/applications/citra-room.desktop
sed -i 's/citra-qt/citra/g' ./AppDir/usr/share/applications/citra.desktop
sed -i 's/citra-qt/citra-room/g' ./AppDir-room/usr/share/applications/citra-room.desktop
# Download appimagetool, needed to build an AppImage # Download appimagetool, needed to build an AppImage
wget https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage wget https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage