mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 22:52:42 +01:00
feat: support dlc servers
This commit is contained in:
1 parent
d7b3ff8b3e
commit
9189837a34
4 files changed
+106
-25
No files matched your search
@@ -525,14 +525,14 @@ fetch_a2s(){
|
||||
logger INFO "Updated A2S helper to sha '$sha'"
|
||||
}
|
||||
fetch_dzq(){
|
||||
local sum="232f42b98a3b50a0dd6e73fee55521b2"
|
||||
local sum="9caed1445c45832f4af87736ba3f9637"
|
||||
local file="$helpers_path/a2s/dayzquery.py"
|
||||
if [[ -f $file ]] && [[ $(get_hash "$file") == $sum ]]; then
|
||||
logger INFO "DZQ is current"
|
||||
return 0
|
||||
fi
|
||||
local sha=ccc4f71b48610a1885706c9d92638dbd8ca012a5
|
||||
local author="yepoleb"
|
||||
local sha=788e85b82189cb3485d4a08ee350c67994b29ea3
|
||||
local author="aclist"
|
||||
local repo="dayzquery"
|
||||
local url="https://raw.githubusercontent.com/$author/$repo/$sha/dayzquery.py"
|
||||
curl -Ls "$url" > "$file"
|
||||
@@ -566,10 +566,10 @@ fetch_helpers_by_sum(){
|
||||
[[ -f "$config_file" ]] && source "$config_file"
|
||||
declare -A sums
|
||||
sums=(
|
||||
["ui.py"]="9cac4d3b87ef292e7d30b25ca86cc438"
|
||||
["ui.py"]="91ea4d842d35a7d5e1441174f1f463c5"
|
||||
["query_v2.py"]="55d339ba02512ac69de288eb3be41067"
|
||||
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
|
||||
["funcs"]="71d3a941209792a41f381f011e78def8"
|
||||
["funcs"]="105e7be170eea48ce61fcfe7b50b8f59"
|
||||
["lan"]="c62e84ddd1457b71a85ad21da662b9af"
|
||||
)
|
||||
local author="aclist"
|
||||
@@ -868,7 +868,7 @@ initial_setup(){
|
||||
watcher_deps
|
||||
check_architecture
|
||||
test_connection
|
||||
fetch_helpers > >(pdialog "Checking helper files")
|
||||
# fetch_helpers > >(pdialog "Checking helper files")
|
||||
varcheck
|
||||
source "$config_file"
|
||||
lock
|
||||
|
||||
Reference in new issue
Block a user