mirror of
https://github.com/aclist/dztui.git
synced 2024-12-29 13:52:03 +01:00
Update labels
This commit is contained in:
parent
7ad6c13b52
commit
159a9bc900
2 changed files with 8 additions and 4 deletions
|
@ -5,7 +5,11 @@
|
||||||
- Custom query API
|
- Custom query API
|
||||||
- Standardize dialogs
|
- Standardize dialogs
|
||||||
|
|
||||||
## [3.1.0-rc.10] 2022-11-21
|
## [3.1.0-rc.12] 2022-11-22
|
||||||
|
### Changed
|
||||||
|
- Updated menu labels
|
||||||
|
|
||||||
|
## [3.1.0-rc.11] 2022-11-21
|
||||||
### Added
|
### Added
|
||||||
- Recent connect history
|
- Recent connect history
|
||||||
- Force refresh local mods
|
- Force refresh local mods
|
||||||
|
|
6
dzgui.sh
6
dzgui.sh
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
version=3.1.0-rc.11
|
version=3.1.0-rc.12
|
||||||
|
|
||||||
aid=221100
|
aid=221100
|
||||||
game="dayz"
|
game="dayz"
|
||||||
|
@ -725,9 +725,9 @@ history_table(){
|
||||||
res=$(< $meta_file jq -er '.response.servers[]' 2>/dev/null)
|
res=$(< $meta_file jq -er '.response.servers[]' 2>/dev/null)
|
||||||
prepare_ip_list "$meta_file" >> /tmp/dz.hist
|
prepare_ip_list "$meta_file" >> /tmp/dz.hist
|
||||||
sleep 1s
|
sleep 1s
|
||||||
done > >(zenity --pulsate --progress --auto-close --width=500 2>/dev/null)
|
done > >(zenity --pulsate --progress --auto-close --title=DZGUI --width=500 2>/dev/null)
|
||||||
while true; do
|
while true; do
|
||||||
sel=$(cat /tmp/dz.hist | zenity --width 1200 --height 800 --list --column=Name --column=IP --column=Players --column=Gametime --print-column=2 --separator=%% 2>/dev/null)
|
sel=$(cat /tmp/dz.hist | zenity --width 1200 --height 800 --title=DZGUI --text="Recent servers" --list --column=Name --column=IP --column=Players --column=Gametime --print-column=2 --separator=%% 2>/dev/null)
|
||||||
if [[ $? -eq 1 ]]; then
|
if [[ $? -eq 1 ]]; then
|
||||||
return_from_table=1
|
return_from_table=1
|
||||||
rm /tmp/dz.hist
|
rm /tmp/dz.hist
|
||||||
|
|
Loading…
Reference in a new issue