mirror of
https://github.com/aclist/dztui.git
synced 2024-12-29 13:52:03 +01:00
Clean up header
This commit is contained in:
parent
5ed81eb709
commit
1e3e63c2ca
1 changed files with 9 additions and 5 deletions
14
dzgui.sh
14
dzgui.sh
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
version=2.7.0-rc.1
|
version=2.7.0-rc.2
|
||||||
|
|
||||||
aid=221100
|
aid=221100
|
||||||
game="dayz"
|
game="dayz"
|
||||||
|
@ -845,12 +845,15 @@ pagination(){
|
||||||
else
|
else
|
||||||
entry=servers
|
entry=servers
|
||||||
fi
|
fi
|
||||||
printf "[Included] %s\n" "$filters"
|
printf "DZGUI $version │ "
|
||||||
printf "[Excluded] %s\n" "$(disabled)"
|
printf "Mode: $mode │"
|
||||||
|
printf "Fav: $fav \n"
|
||||||
|
printf "Included: %s │ " "$filters"
|
||||||
|
printf "Excluded: %s │ " "$(disabled)"
|
||||||
if [[ -n $search ]]; then
|
if [[ -n $search ]]; then
|
||||||
printf "[Keyword] %s\n" "$search"
|
printf "Keyword: %s │ " "$search"
|
||||||
fi
|
fi
|
||||||
printf "Returned %s %s" "${#qport[@]}" "$entry"
|
printf "Returned: %s %s" "${#qport[@]}" "$entry"
|
||||||
}
|
}
|
||||||
check_geo_file(){
|
check_geo_file(){
|
||||||
local db_file="https://github.com/aclist/dztui/releases/download/browser/ips.csv.gz"
|
local db_file="https://github.com/aclist/dztui/releases/download/browser/ips.csv.gz"
|
||||||
|
@ -949,6 +952,7 @@ server_browser(){
|
||||||
local limit=20000
|
local limit=20000
|
||||||
local url="https://api.steampowered.com/IGameServersService/GetServerList/v1/?filter=\appid\221100&limit=$limit&key=$steam_api"
|
local url="https://api.steampowered.com/IGameServersService/GetServerList/v1/?filter=\appid\221100&limit=$limit&key=$steam_api"
|
||||||
check_geo_file #> >(zenity --pulsate --progress --auto-close 2>/dev/null)
|
check_geo_file #> >(zenity --pulsate --progress --auto-close 2>/dev/null)
|
||||||
|
command -v python 2>&1>/dev/null || { zenity --error --width=500 --text="Requires python" 2>/dev/null ; return ; }
|
||||||
local_latlon
|
local_latlon
|
||||||
choose_filters
|
choose_filters
|
||||||
[[ -z $sels ]] && return
|
[[ -z $sels ]] && return
|
||||||
|
|
Loading…
Reference in a new issue