mirror of
https://github.com/aclist/dztui.git
synced 2024-12-28 21:32:36 +01:00
commit
6461453f75
3 changed files with 10 additions and 4 deletions
|
@ -1,5 +1,9 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [5.3.2] 2024-07-02
|
||||||
|
### Fixed
|
||||||
|
- Server list would sometimes be missing some expected servers due to truncation being caused when a server erroneously set an incomplete gametype
|
||||||
|
|
||||||
## [5.3.1] 2024-06-15
|
## [5.3.1] 2024-06-15
|
||||||
### Added
|
### Added
|
||||||
- Uninstall routine: invoke via dzgui.sh -u or dzgui.sh --uninstall and choose from full or partial uninstall
|
- Uninstall routine: invoke via dzgui.sh -u or dzgui.sh --uninstall and choose from full or partial uninstall
|
||||||
|
|
8
dzgui.sh
8
dzgui.sh
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
version=5.3.1
|
version=5.3.2
|
||||||
|
|
||||||
#CONSTANTS
|
#CONSTANTS
|
||||||
aid=221100
|
aid=221100
|
||||||
|
@ -538,7 +538,7 @@ fetch_helpers_by_sum(){
|
||||||
["ui.py"]="f14772424461ec438579dec567db0634"
|
["ui.py"]="f14772424461ec438579dec567db0634"
|
||||||
["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197"
|
["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197"
|
||||||
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
|
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
|
||||||
["funcs"]="37ae407ac397f6775f3a412e7adb7840"
|
["funcs"]="718c3060b88041f5b99a1ce52b12642f"
|
||||||
)
|
)
|
||||||
local author="aclist"
|
local author="aclist"
|
||||||
local repo="dztui"
|
local repo="dztui"
|
||||||
|
@ -655,7 +655,9 @@ find_default_path(){
|
||||||
debian_path="$HOME/.steam/debian-installation"
|
debian_path="$HOME/.steam/debian-installation"
|
||||||
flatpak_path="$HOME/.var/app/com.valvesoftware.Steam/data/Steam"
|
flatpak_path="$HOME/.var/app/com.valvesoftware.Steam/data/Steam"
|
||||||
|
|
||||||
for i in "$def_path" "$ubuntu_path" "$debian_path" "$flatpak_path"; do
|
#ubuntu path must precede default path because
|
||||||
|
#both exist on ubuntu systems, but only ubuntu path contains library data
|
||||||
|
for i in "$ubuntu_path" "$def_path" "$debian_path" "$flatpak_path"; do
|
||||||
if [[ -d "$i" ]]; then
|
if [[ -d "$i" ]]; then
|
||||||
default_steam_path="$i"
|
default_steam_path="$i"
|
||||||
return 0
|
return 0
|
||||||
|
|
|
@ -521,7 +521,7 @@ parse_server_json(){
|
||||||
"\(if .gametype == null then "null" else (.gametype as $time|$time|test("[0-9]{2}:[0-9]{2}$") as $match|(if $match == true then ($time|scan("[0-9]{2}:[0-9]{2}$")) else "XXXX" end)) end)␞" +
|
"\(if .gametype == null then "null" else (.gametype as $time|$time|test("[0-9]{2}:[0-9]{2}$") as $match|(if $match == true then ($time|scan("[0-9]{2}:[0-9]{2}$")) else "XXXX" end)) end)␞" +
|
||||||
"\(.players)␞" +
|
"\(.players)␞" +
|
||||||
"\(.max_players)␞" +
|
"\(.max_players)␞" +
|
||||||
"\(if .gametype == null then "0" else .gametype|split("lqs")[1]|split(",")[0] end)␞" +
|
"\(if .gametype == null then "0" elif .gametype|split("lqs")[1] == null then "0" else .gametype|split("lqs")[1]|split(",")[0] end)␞" +
|
||||||
"\(.addr|split(":")[0]):\(if .gameport == null then "XXXX" else .gameport end)␞" +
|
"\(.addr|split(":")[0]):\(if .gameport == null then "XXXX" else .gameport end)␞" +
|
||||||
"\(.addr|split(":")[1])"
|
"\(.addr|split(":")[1])"
|
||||||
' | sort -k1
|
' | sort -k1
|
||||||
|
|
Loading…
Reference in a new issue