Add Repair RetroDECK Paths option to Configurator

This commit is contained in:
icenine451 2025-03-13 15:00:19 -04:00
parent 96e088e723
commit 9b6bcd1ed7

View file

@ -76,6 +76,7 @@ rd_zenity --progress --no-cancel --pulsate --auto-close \
# - Update Notification # - Update Notification
# - Add RetroDECK to Steam # - Add RetroDECK to Steam
# - M3U Multi-File Validator # - M3U Multi-File Validator
# - Repair RetroDECK paths
# - Ponzu: Remove Yuzu # - Ponzu: Remove Yuzu
# - Ponzu: Remove Citra # - Ponzu: Remove Citra
# - Steam Sync # - Steam Sync
@ -443,6 +444,7 @@ configurator_tools_dialog() {
"Update Notification" "Enable / Disable: Notifications for new RetroDECK versions." "Update Notification" "Enable / Disable: Notifications for new RetroDECK versions."
"Add RetroDECK to Steam" "Add RetroDECK shortcut to Steam. Steam restart required." "Add RetroDECK to Steam" "Add RetroDECK shortcut to Steam. Steam restart required."
"M3U Multi-File Validator" "Verify the proper structure of multi-file or multi-disc games." "M3U Multi-File Validator" "Verify the proper structure of multi-file or multi-disc games."
"Repair RetroDECK Paths" "Repair RetroDECK folder path configs for unexpectedly missing folders."
) )
if [[ $(get_setting_value "$rd_conf" "kiroi_ponzu" "retrodeck" "options") == "true" ]]; then if [[ $(get_setting_value "$rd_conf" "kiroi_ponzu" "retrodeck" "options") == "true" ]]; then
@ -550,6 +552,12 @@ configurator_tools_dialog() {
configurator_check_multifile_game_structure configurator_check_multifile_game_structure
;; ;;
"Repair RetroDECK Paths" )
log i "Configurator: opening \"$choice\" menu"
repair_paths
configurator_tools_dialog
;;
"Ponzu: Remove Yuzu" ) "Ponzu: Remove Yuzu" )
ponzu_remove "yuzu" ponzu_remove "yuzu"
;; ;;