mirror of
https://github.com/aclist/dztui.git
synced 2024-12-28 21:32:36 +01:00
chore: steam deck debugging
This commit is contained in:
parent
f08917de0c
commit
6acd3a2688
1 changed files with 4 additions and 2 deletions
6
dzgui.sh
6
dzgui.sh
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -o pipefail
|
||||
version=3.3.0-rc.8
|
||||
version=3.3.0-rc.9
|
||||
|
||||
aid=221100
|
||||
game="dayz"
|
||||
|
@ -979,6 +979,7 @@ connect_to_fav(){
|
|||
|
||||
}
|
||||
set_header(){
|
||||
echo "setting header" >> /tmp/dzgui.log
|
||||
[[ $auto_install -eq 2 ]] && install_mode="auto"
|
||||
[[ $auto_install -eq 1 ]] && install_mode="headless"
|
||||
[[ $auto_install -eq 0 ]] && install_mode=manual
|
||||
|
@ -989,7 +990,7 @@ set_header(){
|
|||
sel=$(cat $tmp | $steamsafe_zenity $sd_res --list $cols --title="DZGUI" --text="DZGUI $version | Mode: $mode | Branch: $branch | Mods: $install_mode | Fav: $fav_label" \
|
||||
--separator="$separator" --print-column=2,6 2>/dev/null)
|
||||
elif [[ $1 == "main_menu" ]]; then
|
||||
echo "entered header" >> /tmp/dzgui.log
|
||||
echo "drawing header" >> /tmp/dzgui.log
|
||||
sel=$($steamsafe_zenity $sd_res --list --title="DZGUI" --text="${news}DZGUI $version | Mode: $mode | Branch: $branch | Mods: $install_mode | Fav: $fav_label" \
|
||||
--cancel-label="Exit" --ok-label="Select" --column="Select launch option" --hide-header "${items[@]}" 2>/tmp/dzgui.log)
|
||||
echo "sel was $sel" >> /tmp/dzgui.log
|
||||
|
@ -1507,6 +1508,7 @@ main_menu(){
|
|||
warn "This feature is not yet implemented."
|
||||
fi
|
||||
else
|
||||
echo "returning from main" >> /tmp/dzgui.log
|
||||
return
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue