From 896802cd6f2c29a98fe38a857203d34d3895cbc0 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Thu, 15 Jan 2026 02:49:24 +0900 Subject: [PATCH 1/5] chore: update checksums --- CHANGELOG.md | 4 ++++ dzgui.sh | 6 +++--- helpers/funcs | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 917347e..6f4c7cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [6.0.0-beta.18] 2026-01-14 +## Fixed +- Update UI checksums + ## [6.0.0-beta.17] 2026-01-14 ## Added - More descriptive help dialogs when initial dependencies are missing diff --git a/dzgui.sh b/dzgui.sh index 0d5d8bc..da5ad11 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -3,7 +3,7 @@ set -o pipefail src_path=$(realpath "$0") -version=6.0.0.beta-17 +version=6.0.0.beta-18 #CONSTANTS aid=221100 @@ -624,10 +624,10 @@ fetch_helpers_by_sum(){ [[ -f "$config_file" ]] && source "$config_file" declare -A sums sums=( - ["funcs"]="3c35e4d19b8c69971c564afb6ac22728" + ["funcs"]="cd155bfdb33ef2a792d9c05b1d101a56" ["query_v2.py"]="55d339ba02512ac69de288eb3be41067" ["servers.py"]="ed442c3aecf33f777d59dcf53650d263" - ["ui.py"]="8edf48e6780460bd8ea7b01614592296" + ["ui.py"]="3d67e5e8e85a23dde1fd0e85a9be62a9" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" ["pefile.py"]="21531f2c0d9dfa5f110cf6779f9d22c0" ) diff --git a/helpers/funcs b/helpers/funcs index 4a5f786..854d8b0 100755 --- a/helpers/funcs +++ b/helpers/funcs @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -o pipefail -version="6.0.0-beta.17" +version="6.0.0-beta.18" #CONSTANTS aid=221100 From 9fbe5029e10f5ef38aefdb3fc43368742a5008bf Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Thu, 15 Jan 2026 04:35:56 +0900 Subject: [PATCH 2/5] fix: steam deck compatible source path expansion --- CHANGELOG.md | 4 ++++ dzgui.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f4c7cb..0b4122b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [6.0.0-beta.19] 2026-01-14 +## Fixed +- Steam Deck compatible script path expansion + ## [6.0.0-beta.18] 2026-01-14 ## Fixed - Update UI checksums diff --git a/dzgui.sh b/dzgui.sh index da5ad11..187c78c 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,9 +1,9 @@ #!/usr/bin/env bash set -o pipefail -src_path=$(realpath "$0") +src_path="$(readlink -e "$0")" -version=6.0.0.beta-18 +version=6.0.0.beta-19 #CONSTANTS aid=221100 From 317f60eddd2caa066cc8ef8148b43397a8763698 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Thu, 15 Jan 2026 04:36:21 +0900 Subject: [PATCH 3/5] chore: update checksums --- dzgui.sh | 2 +- helpers/funcs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dzgui.sh b/dzgui.sh index 187c78c..6d13b26 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -624,7 +624,7 @@ fetch_helpers_by_sum(){ [[ -f "$config_file" ]] && source "$config_file" declare -A sums sums=( - ["funcs"]="cd155bfdb33ef2a792d9c05b1d101a56" + ["funcs"]="8f44e648bde4fa50adddd3c238c6fe42" ["query_v2.py"]="55d339ba02512ac69de288eb3be41067" ["servers.py"]="ed442c3aecf33f777d59dcf53650d263" ["ui.py"]="3d67e5e8e85a23dde1fd0e85a9be62a9" diff --git a/helpers/funcs b/helpers/funcs index 854d8b0..2286bdd 100755 --- a/helpers/funcs +++ b/helpers/funcs @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -o pipefail -version="6.0.0-beta.18" +version="6.0.0-beta.19" #CONSTANTS aid=221100 From 11c29112c21d65e46208cf8d19fd48ef7a6a7511 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Thu, 15 Jan 2026 05:18:13 +0900 Subject: [PATCH 4/5] fix: write file after wiping cache --- .github/ISSUE_TEMPLATE/bug_report.yml | 4 ++++ .github/ISSUE_TEMPLATE/trouble.yml | 4 ++++ CHANGELOG.md | 4 ++++ dzgui.sh | 7 +++++-- helpers/funcs | 9 +++++---- 5 files changed, 22 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 0ad8d65..e572b50 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -5,6 +5,10 @@ labels: ["bug"] assignees: - aclist body: + - type: markdown + attributes: + value: | + ### WARNING: When posting log/config data, redact any sensitive information like API keys. - type: checkboxes id: kb attributes: diff --git a/.github/ISSUE_TEMPLATE/trouble.yml b/.github/ISSUE_TEMPLATE/trouble.yml index 1c25e69..e890c62 100644 --- a/.github/ISSUE_TEMPLATE/trouble.yml +++ b/.github/ISSUE_TEMPLATE/trouble.yml @@ -5,6 +5,10 @@ labels: ["troubleshooting"] assignees: - aclist body: + - type: markdown + attributes: + value: | + ### WARNING: When posting log/config data, redact any sensitive information like API keys. - type: dropdown id: device attributes: diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b4122b..118a1cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [6.0.0-beta.20] 2026-01-14 +## Fixed +- Write cache file after wiping + ## [6.0.0-beta.19] 2026-01-14 ## Fixed - Steam Deck compatible script path expansion diff --git a/dzgui.sh b/dzgui.sh index 6d13b26..292c9d8 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -3,7 +3,7 @@ set -o pipefail src_path="$(readlink -e "$0")" -version=6.0.0.beta-19 +version=6.0.0.beta-20 #CONSTANTS aid=221100 @@ -41,6 +41,7 @@ cols_file="$state_path/$prefix.cols.json" #CACHE FILES coords_file="$cache_path/$prefix.coords" +src_path_file="$cache_path/$prefix.src" #legacy paths hist_file="$config_path/history" @@ -117,6 +118,7 @@ setup_state_files(){ done logger INFO "Wiped cache files" fi + echo "$src_path" > "$src_path_file" } print_config_vals(){ local keys=( @@ -624,7 +626,7 @@ fetch_helpers_by_sum(){ [[ -f "$config_file" ]] && source "$config_file" declare -A sums sums=( - ["funcs"]="8f44e648bde4fa50adddd3c238c6fe42" + ["funcs"]="1441bb0654b398c68daa22d86275c3ce" ["query_v2.py"]="55d339ba02512ac69de288eb3be41067" ["servers.py"]="ed442c3aecf33f777d59dcf53650d263" ["ui.py"]="3d67e5e8e85a23dde1fd0e85a9be62a9" @@ -691,6 +693,7 @@ get_response_code(){ local url="$1" curl -Ls -I -o /dev/null -w "%{http_code}" "$url" } + fetch_ip_db(){ parse_dl_url(){ curl -Ls "$url" \ diff --git a/helpers/funcs b/helpers/funcs index 2286bdd..f8c602c 100755 --- a/helpers/funcs +++ b/helpers/funcs @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -o pipefail -version="6.0.0-beta.19" +version="6.0.0-beta.20" #CONSTANTS aid=221100 @@ -51,6 +51,7 @@ _cache_binary="$cache_dir/$prefix.binary" _cache_coords="$cache_path/$prefix.coords" _cache_cooldown="$cache_path/$prefix.cooldown" _cache_lan="$cache_path/$prefix.lan" +_cache_src_path="$cache_path/$prefix.src" #XDG freedesktop_path="$HOME/.local/share/applications" @@ -396,6 +397,7 @@ get_dist(){ logger INFO "Distance: $dist km" fi } + query_config(){ [[ -n $2 ]] && local key=$2 keys=( @@ -421,6 +423,7 @@ query_config(){ echo "${!i}" done } + align_versions_file(){ shift local mod="$1" @@ -586,9 +589,6 @@ default_steam_path="$default_steam_path" #Preferred Steam launch command (for Flatpak support) preferred_client="$preferred_client" - -#DZGUI source path -src_path="$src_path" END } format_version_url(){ @@ -642,6 +642,7 @@ download_new_version(){ return 1 fi local version_url="$(format_version_url)" + local src_path="$(< "$_cache_src_path")" mv "$src_path" "$src_path.old" curl -Ls "$version_url" > "$src_path" rc=$? From e9fecc7fb73780fd796219a7511ca568c6aafcc7 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Sat, 17 Jan 2026 01:21:19 +0900 Subject: [PATCH 5/5] fix: explicitly use python 3.13 --- CHANGELOG.md | 4 ++++ dzgui.sh | 6 +++--- helpers/funcs | 8 ++++---- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 118a1cf..f150c3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [6.0.1-beta.1] 2026-01-16 +## Fixed +- Explicitly use Python 3.13 when calling subprocesses + ## [6.0.0-beta.20] 2026-01-14 ## Fixed - Write cache file after wiping diff --git a/dzgui.sh b/dzgui.sh index 292c9d8..e084137 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -3,7 +3,7 @@ set -o pipefail src_path="$(readlink -e "$0")" -version=6.0.0.beta-20 +version=6.0.1.beta-1 #CONSTANTS aid=221100 @@ -626,7 +626,7 @@ fetch_helpers_by_sum(){ [[ -f "$config_file" ]] && source "$config_file" declare -A sums sums=( - ["funcs"]="1441bb0654b398c68daa22d86275c3ce" + ["funcs"]="2a71d60974f5a869ff170366fd80676f" ["query_v2.py"]="55d339ba02512ac69de288eb3be41067" ["servers.py"]="ed442c3aecf33f777d59dcf53650d263" ["ui.py"]="3d67e5e8e85a23dde1fd0e85a9be62a9" @@ -893,7 +893,7 @@ file_picker(){ } find_library_folder(){ local search_path="$1" - readarray -t paths < <(python3 "$helpers_path/vdf2json.py" -i "$1/steamapps/libraryfolders.vdf" \ + readarray -t paths < <(python3.13 "$helpers_path/vdf2json.py" -i "$1/steamapps/libraryfolders.vdf" \ | jq -r '.libraryfolders[]|select(.apps|has("221100")).path') if [[ ! $? -eq 0 ]]; then logger WARN "Failed to parse Steam path using '$search_path'" diff --git a/helpers/funcs b/helpers/funcs index f8c602c..431d5ec 100755 --- a/helpers/funcs +++ b/helpers/funcs @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -o pipefail -version="6.0.0-beta.20" +version="6.0.1-beta.1" #CONSTANTS aid=221100 @@ -286,7 +286,7 @@ a2s(){ local mode="$3" logger INFO "Querying '$ip:$qport' with mode '$mode'" local res - res=$(python3 "$query_helper" "$ip" "$qport" "$mode") + res=$(python3.13 "$query_helper" "$ip" "$qport" "$mode") if [[ $? -eq 1 ]]; then res=$(try_fallback "$ip" "$qport" "$mode") if [[ $? -eq 1 ]]; then @@ -309,7 +309,7 @@ is_in_favs(){ find_id(){ local file="$default_steam_path/config/loginusers.vdf" [[ ! -f $file ]] && return 1 - local res=$(python3 "$helpers_path/vdf2json.py" \ + local res=$(python3.13 "$helpers_path/vdf2json.py" \ -i "$file" \ | jq -r '.users |to_entries[] @@ -338,7 +338,7 @@ list_mods(){ name=$(awk -F\" '/name/ {print $2}' "${dir}/meta.cpp") base_dir=$(basename $(readlink -f $game_dir/$symlink)) size=$(du -s "$(readlink -f "$game_dir/$symlink")" | awk '{print $1}') - size=$(python3 -c "n=($size/1024) +.005; print(round(n,4))") + size=$(python3.13 -c "n=($size/1024) +.005; print(round(n,4))") LC_NUMERIC=C printf "%s$sep%s$sep%s$sep%3.3f\n" "$name" "$symlink" "$base_dir" "$size" done | sort -k1) # user may have manually pruned mods out-of-band