mirror of
https://github.com/aclist/dztui.git
synced 2024-12-28 21:32:36 +01:00
Alternate exit process for Steam Deck
This commit is contained in:
parent
18902ba215
commit
01b2c12a6f
2 changed files with 8 additions and 1 deletions
2
dzgui.sh
2
dzgui.sh
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -o pipefail
|
||||
version=2.8.0-rc.10
|
||||
version=2.8.0-rc.11
|
||||
|
||||
aid=221100
|
||||
game="dayz"
|
||||
|
|
|
@ -290,6 +290,13 @@ return_to_dzg(){
|
|||
case $key in
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
elif [[ $dist == "steamos" ]]; then
|
||||
pass "All OK. Returning to DZGUI."
|
||||
for((i=3;i>0;i--)); do
|
||||
printf "Returning in %i\r" "$i"
|
||||
sleep 1s
|
||||
done
|
||||
exit 0
|
||||
else
|
||||
$(cd $HOME/.local/share/dzgui/helpers; zenity --text-info --html --width=390 --height=452 --filename="d.html" 2>/dev/null)
|
||||
return 0
|
||||
|
|
Loading…
Reference in a new issue