Alternate exit process for Steam Deck

This commit is contained in:
aclist committed 2022-10-08 14:28:24 +09:00
1 parent 18902ba215
commit 01b2c12a6f
2 files changed
+8 -1

No files matched your search

+1 -1
View File
@@ -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"
+7
View File
@@ -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