From 42a8a076ab21cf305f8bfee3d33ae28905339d71 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Sat, 20 May 2023 19:53:51 +0900 Subject: [PATCH] fix: ports from stable --- dzgui.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dzgui.sh b/dzgui.sh index e088723..7e0458e 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -21,6 +21,7 @@ stable_url="$url_prefix/dzgui" testing_url="$url_prefix/testing" releases_url="https://github.com/aclist/dztui/releases/download/browser" help_url="https://aclist.github.io/dzgui/dzgui" +sponsor_url="https://github.com/sponsors/aclist" freedesktop_path="$HOME/.local/share/applications" sd_install_path="$HOME/.local/share/dzgui" helpers_path="$sd_install_path/helpers" @@ -675,6 +676,7 @@ prepare_ip_list(){ fi } history_table(){ + [[ ! -f $hist_file ]] && { pop 1000; return; } [[ -f /tmp/dz.hist ]] && rm /tmp/dz.hist for i in $(cat $hist_file); do echo "# Getting metadata for $i" @@ -1157,7 +1159,8 @@ popup(){ 600) pop "No preferred servers set." ;; 700) pop "Toggled to Flatpak Steam." ;; 800) pop "Toggled to native Steam." ;; - 900) pop "This feature is not supported on Steam Deck." + 900) pop "This feature is not supported on Steam Deck." ;; + 1000) pop "No recent history." esac } toggle_console_dl(){