mirror of
https://github.com/aclist/dztui.git
synced 2024-12-29 13:52:03 +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
|
#!/bin/bash
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
version=2.8.0-rc.10
|
version=2.8.0-rc.11
|
||||||
|
|
||||||
aid=221100
|
aid=221100
|
||||||
game="dayz"
|
game="dayz"
|
||||||
|
|
|
@ -290,6 +290,13 @@ return_to_dzg(){
|
||||||
case $key in
|
case $key in
|
||||||
*) exit 1 ;;
|
*) exit 1 ;;
|
||||||
esac
|
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
|
else
|
||||||
$(cd $HOME/.local/share/dzgui/helpers; zenity --text-info --html --width=390 --height=452 --filename="d.html" 2>/dev/null)
|
$(cd $HOME/.local/share/dzgui/helpers; zenity --text-info --html --width=390 --height=452 --filename="d.html" 2>/dev/null)
|
||||||
return 0
|
return 0
|
||||||
|
|
Loading…
Reference in a new issue