Compare commits

..

1 Commits

Author SHA1 Message Date
aclist
5e8a99c3af
Merge a8ae07931d into a08c588df3 2025-11-06 05:45:11 +00:00
4 changed files with 15 additions and 14 deletions

View File

@ -1,10 +1,5 @@
# Changelog
## [6.0.1-beta.2] 2025-11-10
## Fixed
- Python 3.14 error in finally block
- Require Python version between 3.11 and 3.12
## [6.0.1-beta.1] 2025-11-05
## Fixed
- UI not being constructed correctly if CHANGELOG.md was missing

View File

@ -1,9 +1,7 @@
#!/usr/bin/env bash
set -o pipefail
src_path=$(realpath "$0")
version=6.0.1.beta-2
version=6.0.1.beta-1
reference_branch="prerelease/6.0.1-beta.1"
#CONSTANTS
@ -221,6 +219,9 @@ 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
}
depcheck(){
@ -239,8 +240,8 @@ depcheck(){
check_pyver(){
local pyver=$(python3 --version | awk '{print $2}')
local minor=$(<<< $pyver awk -F. '{print $2}')
if [[ -z $pyver ]] || [[ ${pyver:0:1} -lt 3 ]] || [[ $minor -lt 11 ]] || [[ $minor -gt 12 ]]; then
local msg="Requires Python 3.11 or 3.12"
if [[ -z $pyver ]] || [[ ${pyver:0:1} -lt 3 ]] || [[ $minor -lt 10 ]]; then
local msg="Requires Python >=3.10"
raise_error_and_quit "$msg"
fi
logger INFO "Found Python version: $pyver"
@ -616,10 +617,10 @@ fetch_helpers_by_sum(){
[[ -f "$config_file" ]] && source "$config_file"
declare -A sums
sums=(
["funcs"]="5d7d92b7b8a9c788b133ce5271a76553"
["funcs"]="2bac12c1bff5d6ad50161f174d57d029"
["query_v2.py"]="55d339ba02512ac69de288eb3be41067"
["servers.py"]="ed442c3aecf33f777d59dcf53650d263"
["ui.py"]="2476397883a4272eaf940403ba5a6575"
["ui.py"]="8a35ac263db8b812f30e04902c4e9603"
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
["pefile.py"]="21531f2c0d9dfa5f110cf6779f9d22c0"
)
@ -984,6 +985,10 @@ varcheck(){
create_config
return 0
fi
if [[ $src_path != $(realpath "$0") ]]; then
src_path=$(realpath "$0")
update_config
fi
}
is_dzg_downloading(){
if [[ -d $steam_path ]] && [[ -d $steam_path/downloading/$aid ]]; then

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -o pipefail
version="6.0.1-beta.2"
version="6.0.1-beta.1"
#CONSTANTS
aid=221100

View File

@ -824,6 +824,7 @@ def query_history() -> list | None:
rows = [row.rstrip("\n") for row in f]
except OSError:
rows = None
finally:
return rows