mirror of
https://github.com/aclist/dztui.git
synced 2026-10-25 12:12:31 +01:00
Alternate exit process for Steam Deck
This commit is contained in:
1 parent
18902ba215
commit
01b2c12a6f
2 files changed
+8
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user