From 1a8fd02b60c7c37a4a37efe40aaf258736099aa9 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Fri, 26 Jan 2024 18:36:17 +0900 Subject: [PATCH] fix: newline in modlist --- dzgui.sh | 8 ++++---- helpers/funcs | 4 ++-- helpers/ui.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dzgui.sh b/dzgui.sh index f5e0376..c580d1b 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -o pipefail -version=5.0.0.rc-34 +version=5.0.0.rc-35 #CONSTANTS aid=221100 @@ -536,10 +536,10 @@ fetch_dzq(){ fetch_helpers_by_sum(){ declare -A sums sums=( - ["ui.py"]="b4e3ffaede349a6817132a5a7df45bf8" + ["ui.py"]="e8f3f1ff2a46c6a4bb8a692f42da550b" ["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" - ["funcs"]="0ad23d86fe24507c177e9db95c917354" + ["funcs"]="a37820c4c5da21811bae77f6c43ed9a6" ) local author="aclist" local repo="dztui" @@ -812,7 +812,7 @@ initial_setup(){ steam_deps migrate_files stale_symlinks - fetch_helpers > >(pdialog "Checking helper files") +# fetch_helpers > >(pdialog "Checking helper files") local_latlon is_steam_running is_dzg_downloading diff --git a/helpers/funcs b/helpers/funcs index dd4263e..80bbb2c 100755 --- a/helpers/funcs +++ b/helpers/funcs @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -o pipefail -version=5.0.0.rc-34 +version=5.0.0.rc-35 #CONSTANTS aid=221100 @@ -1192,7 +1192,7 @@ merge_modlists(){ printf "%s\n" "${needs_update[@]}" } readarray -t needs_update < <(check_timestamps) - if [[ ${#needs_update[@]} -eq 0 ]]; then + if [[ -z ${needs_update[@]} ]]; then echo "$diff" return 0 fi diff --git a/helpers/ui.py b/helpers/ui.py index a185615..57a156a 100644 --- a/helpers/ui.py +++ b/helpers/ui.py @@ -16,7 +16,7 @@ locale.setlocale(locale.LC_ALL, '') gi.require_version("Gtk", "3.0") from gi.repository import Gtk, GLib, Gdk, GObject, Pango -# 5.0.0-rc.34 +# 5.0.0-rc.35 app_name = "DZGUI" cache = {}