Add progress dialog to finding empty rom folder process

This commit is contained in:
icenine451 2024-06-20 13:50:54 -04:00
parent 3dd31d1c04
commit 9357db8863

View file

@ -591,7 +591,15 @@ configurator_retrodeck_tools_dialog() {
"Tool: Remove Empty ROM Folders" )
log i "Configurator: opening \"$choice\" menu"
(
find_empty_rom_folders
) |
zenity --progress --no-cancel --pulsate --auto-close \
--icon-name=net.retrodeck.retrodeck \
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
--title="Finding Empty ROM Folders" \
--width=400 --height=200 \
--text="Finding empty ROM folders, please be patient.\n\n"
choice=$(zenity \
--list --width=1200 --height=720 --title "RetroDECK Configurator - RetroDECK: Remove Empty ROM Folders" \