1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-29 13:52:03 +01:00

Fix return codes on popups

This commit is contained in:
aclist 2022-10-08 14:36:43 +09:00
parent 091efd1a59
commit 9ec30e7ba6

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -o pipefail set -o pipefail
version=2.8.0-rc.12 version=2.8.0-rc.13
aid=221100 aid=221100
game="dayz" game="dayz"
@ -354,7 +354,7 @@ steam_deck_mods(){
steam steam://url/CommunityFilePage/$next 2>/dev/null & steam steam://url/CommunityFilePage/$next 2>/dev/null &
zenity --info --title="DZGUI" --ok-label="Next" --text="Click [Next] to continue mod check." --width=500 2>/dev/null zenity --info --title="DZGUI" --ok-label="Next" --text="Click [Next] to continue mod check." --width=500 2>/dev/null
else else
return return 1
fi fi
compare compare
done done
@ -432,6 +432,8 @@ manual_mod_install(){
done done
else else
steam_deck_mods steam_deck_mods
rc=$?
[[ $rc -eq 1 ]] && return 1
fi fi
passed_mod_check > >(zenity --pulsate --progress --auto-close --width=500 2>/dev/null) passed_mod_check > >(zenity --pulsate --progress --auto-close --width=500 2>/dev/null)
} }