fix retroarch desktop file - 1.16.1

This commit is contained in:
Teja Swaroop Pothala 2025-03-07 02:29:11 -05:00
parent d07147c076
commit b2773736c8
No known key found for this signature in database
GPG Key ID: DEBCE0B52FABDAAC

View File

@ -7,9 +7,26 @@ add-apt-repository -y ppa:libretro/stable
apt-get update
apt-get install -y retroarch unzip retroarch-assets libretro-core-info
# Deskto icon
cp /usr/share/applications/com.libretro.RetroArch.desktop $HOME/Desktop/
chmod +x $HOME/Desktop/com.libretro.RetroArch.desktop
# Desktop icon
VERSION=$(retroarch --version | awk '/Version:/ {print $2}')
cat >/usr/share/applications/RetroArch.desktop <<EOL
[Desktop Entry]
Version=$VERSION
Name=RetroArch
GenericName=RetroArch
Type=Application
Comment=Frontend for emulators, game engines and media players
Icon=retroarch
Exec=retroarch
Terminal=false
StartupNotify=false
Keywords=multi;engine;emulator;xmb;
Categories=Game;Emulator;
EOL
cp /usr/share/applications/RetroArch.desktop $HOME/Desktop/
chmod +x $HOME/Desktop/RetroArch.desktop
# Config setup
mkdir -p $HOME/.config/retroarch/cores