BIOS_CHECKER: moved in Tools

This commit is contained in:
XargonWan 2025-02-07 11:33:17 +09:00
parent 41018e0f46
commit fd76417c65

View file

@ -398,14 +398,16 @@ configurator_open_emulator_dialog() {
configurator_retrodeck_tools_dialog() { configurator_retrodeck_tools_dialog() {
local choices=( local choices=(
"Data Management" "Move RetroDECK folders between internal/SD card or to a custom location"
"Backup Userdata" "Compress and backup important RetroDECK user data folders" "Backup Userdata" "Compress and backup important RetroDECK user data folders"
"BIOS Checker" "Show information about common BIOS files"
"Data Management" "Move RetroDECK folders between internal/SD card or to a custom location"
"Games Compressor" "Games Compressor for systems that support it" "Games Compressor" "Games Compressor for systems that support it"
"Install: RetroDECK Controller Layouts" "Install the custom RetroDECK controller layouts on Steam" "Install: RetroDECK Controller Layouts" "Install the custom RetroDECK controller layouts on Steam"
"Install: PS3 Firmware" "Download and install PS3 firmware for use with the RPCS3 emulator" "Install: PS3 Firmware" "Download and install PS3 firmware for use with the RPCS3 emulator"
"Install: PS Vita Firmware" "Download and install PS Vita firmware for use with the Vita3K emulator" "Install: PS Vita Firmware" "Download and install PS Vita firmware for use with the Vita3K emulator"
"Update Notification" "Enable or disable online checks for new versions of RetroDECK" "Update Notification" "Enable or disable online checks for new versions of RetroDECK"
"Verify Multi-file Structure" "Verify the proper structure of multi-file or multi-disc games" "Verify Multi-file Structure" "Verify the proper structure of multi-file or multi-disc games"
) )
if [[ $(get_setting_value "$rd_conf" "kiroi_ponzu" "retrodeck" "options") == "true" ]]; then if [[ $(get_setting_value "$rd_conf" "kiroi_ponzu" "retrodeck" "options") == "true" ]]; then
@ -445,6 +447,11 @@ configurator_retrodeck_tools_dialog() {
configurator_retrodeck_troubleshooting_dialog configurator_retrodeck_troubleshooting_dialog
;; ;;
"BIOS Checker" )
log i "Configurator: opening \"$choice\" menu"
configurator_check_bios_files
;;
"Install: RetroDECK Controller Layouts" ) "Install: RetroDECK Controller Layouts" )
log i "Configurator: opening \"$choice\" menu" log i "Configurator: opening \"$choice\" menu"
configurator_generic_dialog "RetroDECK Configurator - Install: RetroDECK Controller Profile" "We are now offering a new official RetroDECK controller profile!\nIt is an optional component that helps you get the most out of RetroDECK with a new in-game radial menu for unified hotkeys across emulators.\n\nThe files need to be installed outside of the normal ~/retrodeck folder, so we wanted your permission before proceeding.\n\nThe files will be installed at the following shared Steam locations:\n\n$HOME/.steam/steam/tenfoot/resource/images/library/controller/binding_icons/\n$HOME/.steam/steam/controller_base/templates" configurator_generic_dialog "RetroDECK Configurator - Install: RetroDECK Controller Profile" "We are now offering a new official RetroDECK controller profile!\nIt is an optional component that helps you get the most out of RetroDECK with a new in-game radial menu for unified hotkeys across emulators.\n\nThe files need to be installed outside of the normal ~/retrodeck folder, so we wanted your permission before proceeding.\n\nThe files will be installed at the following shared Steam locations:\n\n$HOME/.steam/steam/tenfoot/resource/images/library/controller/binding_icons/\n$HOME/.steam/steam/controller_base/templates"
@ -857,16 +864,10 @@ configurator_retrodeck_troubleshooting_dialog() {
choice=$(rd_zenity --list --title="RetroDECK Configurator Utility - Troubleshooting" --cancel-label="Back" \ choice=$(rd_zenity --list --title="RetroDECK Configurator Utility - Troubleshooting" --cancel-label="Back" \
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --width=1200 --height=720 \ --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --width=1200 --height=720 \
--column="Choice" --column="Action" \ --column="Choice" --column="Action" \
"BIOS Checker" "Show information about common BIOS files" \
"Reset Component" "Reset specific parts or all of RetroDECK" ) "Reset Component" "Reset specific parts or all of RetroDECK" )
case $choice in case $choice in
"BIOS Checker" )
log i "Configurator: opening \"$choice\" menu"
configurator_check_bios_files
;;
"Reset Component" ) "Reset Component" )
log i "Configurator: opening \"$choice\" menu" log i "Configurator: opening \"$choice\" menu"
configurator_reset_dialog configurator_reset_dialog