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

Drop Python requirement

This commit is contained in:
aclist 2022-09-17 02:33:23 +09:00
parent c004032e52
commit f9ac376b37

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -o pipefail set -o pipefail
version=2.7.0-rc.7 version=2.7.0-rc.8
aid=221100 aid=221100
game="dayz" game="dayz"
@ -978,7 +978,6 @@ 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