2022-06-30 18:30:49 +00:00
#!/bin/bash
zenity --title "RetroDECK" --question --no-wrap --window-icon= "/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --text= "Doing some changes in the emulator's configuration may create serious issues,\nplease continue only if you know what you're doing.\n\nDo you want to continue?"
if [ $? = = 1 ] #no
then
exit 0
fi
2022-07-04 20:49:58 +00:00
emulator = " $( zenity --list \
2022-06-30 18:30:49 +00:00
--title "RetroDECK" \
--window-icon= "/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
--text= "Which emulator do you want to configure?" \
--hide-header \
2022-07-04 20:49:58 +00:00
--column= emulator \
2022-06-30 18:30:49 +00:00
"RetroArch" \
"Citra" \
"Dolphin" \
"MelonDS" \
"PCSX2" \
"PPSSPP" \
"RPCS3" \
2022-07-18 08:47:51 +00:00
"XEMU" \
2022-06-30 18:30:49 +00:00
"Yuzu" ) "
2022-07-04 20:49:58 +00:00
if [ $emulator = = "RetroArch" ]
2022-06-30 18:30:49 +00:00
then
retroarch
2022-07-04 20:49:58 +00:00
elif [ $emulator = = "Citra" ]
2022-06-30 18:30:49 +00:00
then
citra-qt
2022-07-04 20:49:58 +00:00
elif [ $emulator = = "Dolphin" ]
2022-06-30 18:30:49 +00:00
then
dolphin-emu
2022-07-04 20:49:58 +00:00
elif [ $emulator = = "MelonDS" ]
2022-06-30 18:30:49 +00:00
then
melonDS
2022-07-04 20:49:58 +00:00
elif [ $emulator = = "PCSX2" ]
2022-06-30 18:30:49 +00:00
then
pcsx2
2022-07-04 20:49:58 +00:00
elif [ $emulator = = "PPSSPP" ]
2022-06-30 18:30:49 +00:00
then
PPSSPPSDL
2022-07-04 20:49:58 +00:00
elif [ $emulator = = "RPCS3" ]
2022-06-30 18:30:49 +00:00
then
rpcs3
2022-07-04 20:49:58 +00:00
elif [ $emulator = = "Yuzu" ]
2022-06-30 18:30:49 +00:00
then
yuzu
2022-07-18 08:47:51 +00:00
elif [ $emulator = = "XEMU" ]
then
xemu
2022-06-30 18:30:49 +00:00
fi