Fix "files left" counting when compressing all files

This commit is contained in:
icenine451 2024-06-26 12:44:39 -04:00
parent 7f62bd089b
commit 1057f091d6

View file

@ -879,6 +879,8 @@ configurator_compress_multiple_games_dialog() {
fi fi
else # The user chose to auto-compress everything else # The user chose to auto-compress everything
games_to_compress=("${all_compressable_games[@]}") games_to_compress=("${all_compressable_games[@]}")
total_games_to_compress=${#all_compressable_games[@]}
games_left_to_compress=$total_games_to_compress
fi fi
else else
configurator_generic_dialog "RetroDECK Configurator - RetroDECK: Compression Tool" "No compressable files were found." configurator_generic_dialog "RetroDECK Configurator - RetroDECK: Compression Tool" "No compressable files were found."