1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-01-01 15:12:05 +01:00

fix: ports from stable

This commit is contained in:
aclist 2023-05-20 19:53:51 +09:00
parent b22c106ecb
commit 42a8a076ab

View file

@ -21,6 +21,7 @@ stable_url="$url_prefix/dzgui"
testing_url="$url_prefix/testing" testing_url="$url_prefix/testing"
releases_url="https://github.com/aclist/dztui/releases/download/browser" releases_url="https://github.com/aclist/dztui/releases/download/browser"
help_url="https://aclist.github.io/dzgui/dzgui" help_url="https://aclist.github.io/dzgui/dzgui"
sponsor_url="https://github.com/sponsors/aclist"
freedesktop_path="$HOME/.local/share/applications" freedesktop_path="$HOME/.local/share/applications"
sd_install_path="$HOME/.local/share/dzgui" sd_install_path="$HOME/.local/share/dzgui"
helpers_path="$sd_install_path/helpers" helpers_path="$sd_install_path/helpers"
@ -675,6 +676,7 @@ prepare_ip_list(){
fi fi
} }
history_table(){ history_table(){
[[ ! -f $hist_file ]] && { pop 1000; return; }
[[ -f /tmp/dz.hist ]] && rm /tmp/dz.hist [[ -f /tmp/dz.hist ]] && rm /tmp/dz.hist
for i in $(cat $hist_file); do for i in $(cat $hist_file); do
echo "# Getting metadata for $i" echo "# Getting metadata for $i"
@ -1157,7 +1159,8 @@ popup(){
600) pop "No preferred servers set." ;; 600) pop "No preferred servers set." ;;
700) pop "Toggled to Flatpak Steam." ;; 700) pop "Toggled to Flatpak Steam." ;;
800) pop "Toggled to native 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 esac
} }
toggle_console_dl(){ toggle_console_dl(){