From 57460dacb623c5c392630bbe7dac55a216d5ff28 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Tue, 25 Jul 2023 10:11:28 +0900 Subject: [PATCH] chore: restore dropped function --- dzgui.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dzgui.sh b/dzgui.sh index 714da1c..163322f 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1090,6 +1090,15 @@ focus_beta_client(){ sleep 0.5s xdotool key Tab } +is_beta(){ + #TODO: refactor legacy handling methods + local dir="$default_steam_path/package" + if [[ -f $dir/beta ]]; then + echo 0 + else + echo 1 + fi +} console_dl(){ readarray -t modids <<< "$@" focus_beta_client