mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
COMPRESSOR: fixed a bug where user selected items were misread
This commit is contained in:
parent
5b4a578cf6
commit
024940a427
|
@ -88,6 +88,7 @@
|
||||||
<li>PSX: fixed an issue that was not showing the borders correctly</li>
|
<li>PSX: fixed an issue that was not showing the borders correctly</li>
|
||||||
<li>BIOS CHECKER: fixed wrong folder check</li>
|
<li>BIOS CHECKER: fixed wrong folder check</li>
|
||||||
<li>POST_UPDATE: fixed a bug where retrodeck.cfg was not updated at every version</li>
|
<li>POST_UPDATE: fixed a bug where retrodeck.cfg was not updated at every version</li>
|
||||||
|
<li>COMPRESSOR: fixed a bug where user selected items were misread</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Developers, developers, developers:</p>
|
<p>Developers, developers, developers:</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
@ -722,6 +722,7 @@ configurator_compress_single_game_dialog() {
|
||||||
) |
|
) |
|
||||||
rd_zenity --icon-name=net.retrodeck.retrodeck --progress --no-cancel --pulsate --auto-close \
|
rd_zenity --icon-name=net.retrodeck.retrodeck --progress --no-cancel --pulsate --auto-close \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||||
|
--width="800" \
|
||||||
--title "RetroDECK Configurator Utility - Compression in Progress"
|
--title "RetroDECK Configurator Utility - Compression in Progress"
|
||||||
configurator_generic_dialog "RetroDECK Configurator - RetroDECK: Compression Tool" "The compression process is complete."
|
configurator_generic_dialog "RetroDECK Configurator - RetroDECK: Compression Tool" "The compression process is complete."
|
||||||
configurator_compression_tool_dialog
|
configurator_compression_tool_dialog
|
||||||
|
@ -783,7 +784,7 @@ configurator_compress_multiple_games_dialog() {
|
||||||
for line in "${all_compressable_games[@]}"; do
|
for line in "${all_compressable_games[@]}"; do
|
||||||
IFS="^" read -r game comp <<< "$line"
|
IFS="^" read -r game comp <<< "$line"
|
||||||
local short_game="${game#$roms_folder}"
|
local short_game="${game#$roms_folder}"
|
||||||
checklist_entries+=( "TRUE" "$short_game" "$game" )
|
checklist_entries+=( "TRUE" "$short_game" "$line" )
|
||||||
done
|
done
|
||||||
|
|
||||||
local choice
|
local choice
|
||||||
|
@ -798,6 +799,7 @@ configurator_compress_multiple_games_dialog() {
|
||||||
"${checklist_entries[@]}")
|
"${checklist_entries[@]}")
|
||||||
|
|
||||||
local rc=$?
|
local rc=$?
|
||||||
|
log d "User choice: $choice"
|
||||||
if [[ $rc == 0 && -n "$choice" ]]; then
|
if [[ $rc == 0 && -n "$choice" ]]; then
|
||||||
IFS="," read -ra games_to_compress <<< "$choice"
|
IFS="," read -ra games_to_compress <<< "$choice"
|
||||||
elif [[ -n "$choice" ]]; then
|
elif [[ -n "$choice" ]]; then
|
||||||
|
@ -845,6 +847,7 @@ configurator_compress_multiple_games_dialog() {
|
||||||
|
|
||||||
rd_zenity --icon-name=net.retrodeck.retrodeck --progress --no-cancel --auto-close \
|
rd_zenity --icon-name=net.retrodeck.retrodeck --progress --no-cancel --auto-close \
|
||||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck/retrodeck.svg" \
|
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck/retrodeck.svg" \
|
||||||
|
--width="800" \
|
||||||
--title "RetroDECK Configurator Utility - Compression in Progress" < "$comp_pipe"
|
--title "RetroDECK Configurator Utility - Compression in Progress" < "$comp_pipe"
|
||||||
|
|
||||||
wait "$comp_pid_group"
|
wait "$comp_pid_group"
|
||||||
|
|
Loading…
Reference in a new issue