STEAM_ROM_MAMANGER: dded to Zenity

This commit is contained in:
XargonWan 2024-12-28 00:11:53 +09:00
parent 7780e25e0e
commit 7ddb387709
2 changed files with 9 additions and 2 deletions

View file

@ -79,7 +79,7 @@ prepare_component() {
fi
fi
if [[ "$component" =~ ^(steam-rom-manager|all)$ ]]; then
if [[ "$component" =~ ^(steam-rom-manager|steamrommanager|all)$ ]]; then
component_found="true"
log i "-----------------------------"
log i "Prepearing Steam ROM Manager"

View file

@ -452,6 +452,7 @@ configurator_open_emulator_dialog() {
"Ruffle" "Open the Flash emulator Ruffle"
"RPCS3" "Open the PS3 emulator RPCS3"
"Ryujinx" "Open the Switch emulator Ryujinx"
"Steam ROM Manager" "Open Steam ROM Manager"
"Vita3K" "Open the PSVita emulator Vita3K"
"XEMU" "Open the Xbox emulator XEMU"
)
@ -539,6 +540,11 @@ configurator_open_emulator_dialog() {
Ryujinx.sh
;;
"Steam ROM Manager" )
log i "Configurator: \"$emulator\""
steam-rom-manager
;;
"Vita3K" )
log i "Configurator: \"$emulator\""
Vita3K
@ -1101,6 +1107,7 @@ configurator_reset_dialog() {
"Primehack" "Reset the Metroid Prime emulator Primehack to default settings"
"RPCS3" "Reset the PS3 emulator RPCS3 to default settings"
"Ryujinx" "Reset the Switch emulator Ryujinx to default settings"
"Steam ROM Manager" "Reset Steam ROM Manager to default settings"
"Vita3k" "Reset the PS Vita emulator Vita3k to default settings"
"XEMU" "Reset the XBOX emulator XEMU to default settings"
)
@ -1141,7 +1148,7 @@ configurator_reset_dialog() {
fi
;;
"Cemu" | "Citra" | "Dolphin" | "Duckstation" | "GZDoom" | "Yuzu" | "MelonDS" | "MAME" | "PCSX2" | "PPSSPP" | "Primehack" | "Ruffle" | "RPCS3" | "Ryujinx" )
"Cemu" | "Citra" | "Dolphin" | "Duckstation" | "GZDoom" | "Yuzu" | "MelonDS" | "MAME" | "PCSX2" | "PPSSPP" | "Primehack" | "Ruffle" | "RPCS3" | "Ryujinx" | "SteamROMManager" )
if [[ $(configurator_reset_confirmation_dialog "$component_to_reset" "Are you sure you want to reset the $component_to_reset emulator to default settings?\n\nThis process cannot be undone.") == "true" ]]; then
prepare_component "reset" "$component_to_reset" "configurator"
configurator_process_complete_dialog "resetting $component_to_reset"