mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
Add Configurator tool to rebuild any missing default ROM folders
- Also add missing return to menu after completion of empty rom folder removal tool
This commit is contained in:
parent
e89755561f
commit
26063dec2b
|
@ -53,6 +53,7 @@ source /app/libexec/global.sh
|
||||||
# - Move Mods folder
|
# - Move Mods folder
|
||||||
# - Move Texture Packs folder
|
# - Move Texture Packs folder
|
||||||
# - Tool: Remove Empty ROM Folders
|
# - Tool: Remove Empty ROM Folders
|
||||||
|
# - Tool: Rebuild All ROM Folders
|
||||||
# - Tool: Compress Games
|
# - Tool: Compress Games
|
||||||
# - Compress Single Game
|
# - Compress Single Game
|
||||||
# - Compress Multiple Games - CHD
|
# - Compress Multiple Games - CHD
|
||||||
|
@ -561,6 +562,7 @@ configurator_retrodeck_tools_dialog() {
|
||||||
local choices=(
|
local choices=(
|
||||||
"Tool: Move Folders" "Move RetroDECK folders between internal/SD card or to a custom location"
|
"Tool: Move Folders" "Move RetroDECK folders between internal/SD card or to a custom location"
|
||||||
"Tool: Remove Empty ROM Folders" "Remove some or all of the empty ROM folders"
|
"Tool: Remove Empty ROM Folders" "Remove some or all of the empty ROM folders"
|
||||||
|
"Tool: Rebuild All ROM Folders" "Rebuild any missing default ROM folders"
|
||||||
"Tool: Compress Games" "Compress games for systems that support it"
|
"Tool: Compress Games" "Compress games 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"
|
||||||
|
@ -613,6 +615,16 @@ configurator_retrodeck_tools_dialog() {
|
||||||
rm -f "$folder"
|
rm -f "$folder"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
configurator_generic_dialog "RetroDECK Configurator - Remove Empty ROM Folders" "The removal process is complete."
|
||||||
|
configurator_retrodeck_tools_dialog
|
||||||
|
;;
|
||||||
|
|
||||||
|
"Tool: Rebuild All ROM Folders" )
|
||||||
|
log i "Configurator: opening \"$choice\" menu"
|
||||||
|
es-de --create-system-dirs
|
||||||
|
configurator_generic_dialog "RetroDECK Configurator - Rebuild All ROM Folders" "The rebuilding process is complete.\n\nAll missing default ROM folders will now exist in $roms_folder"
|
||||||
|
configurator_retrodeck_tools_dialog
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Tool: Compress Games" )
|
"Tool: Compress Games" )
|
||||||
|
|
Loading…
Reference in a new issue