1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-04-05 03:53:01 +02:00

fix: setup handling

This commit is contained in:
aclist 2024-06-16 02:57:28 +09:00
parent ff7f09015c
commit 4dd2a2941f

View file

@ -238,6 +238,7 @@ watcher_deps(){
logger INFO "Found DZG Watcher dependencies" logger INFO "Found DZG Watcher dependencies"
} }
format_version_url(){ format_version_url(){
[[ -z "$branch" ]] && branch="stable"
case "$branch" in case "$branch" in
"stable") "stable")
version_url="$stable_url/dzgui.sh" version_url="$stable_url/dzgui.sh"
@ -531,7 +532,7 @@ fetch_dzq(){
logger INFO "Updated DZQ to sha '$sha'" logger INFO "Updated DZQ to sha '$sha'"
} }
fetch_helpers_by_sum(){ fetch_helpers_by_sum(){
source "$config_file" [[ -f "$config_file" ]] && source "$config_file"
declare -A sums declare -A sums
sums=( sums=(
["ui.py"]="f14772424461ec438579dec567db0634" ["ui.py"]="f14772424461ec438579dec567db0634"