mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-02-18 04:15:40 +00:00
Add "no compessable files found" dialog
This commit is contained in:
parent
7022193212
commit
00ee6e1279
|
@ -855,6 +855,7 @@ configurator_compress_multiple_games_dialog() {
|
|||
|
||||
find_compatible_games "$1"
|
||||
|
||||
if [[ ! $(echo "${#all_compressable_games[@]}") == "0" ]]; then
|
||||
if [[ ! "$target_selection" == "everything" ]]; then # If the user chose to not auto-compress everything
|
||||
choice=$(zenity \
|
||||
--list --width=1200 --height=720 --title "RetroDECK Configurator - RetroDECK: Compression Tool" \
|
||||
|
@ -879,6 +880,9 @@ configurator_compress_multiple_games_dialog() {
|
|||
else # The user chose to auto-compress everything
|
||||
games_to_compress=("${all_compressable_games[@]}")
|
||||
fi
|
||||
else
|
||||
configurator_generic_dialog "RetroDECK Configurator - RetroDECK: Compression Tool" "No compressable files were found."
|
||||
fi
|
||||
|
||||
if [[ ! $(echo "${#games_to_compress[@]}") == "0" ]]; then
|
||||
local post_compression_cleanup=$(configurator_compression_cleanup_dialog)
|
||||
|
|
Loading…
Reference in a new issue