diff --git a/CHANGELOG.md b/CHANGELOG.md index c0f2434..53c9002 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [5.4.2] 2024-10-05 +### Fixed +- Sanitize third-party API IDs to remove UGC collisions + ## [5.4.1] 2024-09-25 ### Added - Pre-boot validation check for users with self-compiled version of jq diff --git a/dzgui.sh b/dzgui.sh index 95ae2f5..7b9437e 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -o pipefail -version=5.4.1 +version=5.4.2 #CONSTANTS aid=221100 @@ -569,7 +569,7 @@ fetch_helpers_by_sum(){ ["ui.py"]="9cac4d3b87ef292e7d30b25ca86cc438" ["query_v2.py"]="55d339ba02512ac69de288eb3be41067" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" - ["funcs"]="4a06a823b6240c518687d2a8ec20e914" + ["funcs"]="71d3a941209792a41f381f011e78def8" ["lan"]="c62e84ddd1457b71a85ad21da662b9af" ) local author="aclist" diff --git a/helpers/funcs b/helpers/funcs index 16030fd..8bf10c5 100755 --- a/helpers/funcs +++ b/helpers/funcs @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -o pipefail -version=5.4.1 +version=5.4.2 #CONSTANTS aid=221100 @@ -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"