diff --git a/CHANGELOG.md b/CHANGELOG.md index c62e093..fe6a399 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [5.4.2-beta.1] 2024-10-05 +### Fixed +- Sanitize third-party API IDs to remove UGC collisions + ## [5.4.1-beta.2] 2024-09-12 ### Fixed - Use fallback logic for modlist queries when user traverses networks diff --git a/dzgui.sh b/dzgui.sh index 420b769..fe7b953 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -o pipefail -version=5.4.1-beta.3 +version=5.4.2-beta.1 #CONSTANTS aid=221100 @@ -549,7 +549,7 @@ fetch_icons(){ "128" "256" ) - url="$testing_url/images/icons" + url="$stable_url/images/icons" for i in "${res[@]}"; do size="${i}x${i}" dir="$HOME/.local/share/icons/hicolor/$size/apps" @@ -569,7 +569,7 @@ fetch_helpers_by_sum(){ ["ui.py"]="9cac4d3b87ef292e7d30b25ca86cc438" ["query_v2.py"]="55d339ba02512ac69de288eb3be41067" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" - ["funcs"]="4a06a823b6240c518687d2a8ec20e914" + ["funcs"]="7221bda853145942c4c728cbc76ac633" ["lan"]="c62e84ddd1457b71a85ad21da662b9af" ) local author="aclist" diff --git a/helpers/funcs b/helpers/funcs index 16030fd..071c8d3 100755 --- a/helpers/funcs +++ b/helpers/funcs @@ -1019,7 +1019,11 @@ query_defunct(){ -H "Content-Type:application/x-www-form-urlencoded"\ -d "$(payload)" 'https://api.steampowered.com/ISteamRemoteStorage/GetPublishedFileDetails/v1/?format=json' } - local result=$(post | jq -r '.[].publishedfiledetails[] | select(.result==1) | "\(.file_size) \(.publishedfileid)"') + local result=$(post | jq -r ' + .[].publishedfiledetails[] + | select(.result==1) + | select(.filename|contains("screenshot")|not) + | "\(.file_size) \(.publishedfileid)"') <<< "$result" awk '{print $2}' } encode(){ @@ -1177,6 +1181,7 @@ focus_beta_client(){ $steam_cmd steam://open/console 2>/dev/null 1>&2 } auto_mod_install(){ + # currently unused, merged with manual method local ip="$1" local gameport="$2" local diff="$3"