1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-29 13:52:03 +01:00

fix: use same WM_CLASS name for both clients

This commit is contained in:
aclist 2023-05-09 09:23:26 +09:00
parent 76a05e5d04
commit 0cabcb9f46
2 changed files with 6 additions and 6 deletions

View file

@ -5,6 +5,10 @@
- Custom query API - Custom query API
- Standardize dialogs - Standardize dialogs
## [3.3.0-rc.20] 2023-05-09
### Changed
- Use same WM_CLASS targeting method for beta and stable clients
## [3.3.0-rc.19] 2023-05-09 ## [3.3.0-rc.19] 2023-05-09
### Fixed ### Fixed
- Case folding when targeting WM_CLASS - Case folding when targeting WM_CLASS

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -o pipefail set -o pipefail
version=3.3.0-rc.19 version=3.3.0-rc.20
aid=221100 aid=221100
game="dayz" game="dayz"
@ -560,11 +560,7 @@ update_history(){
echo -e "${old}${ip}" > "$hist_file" echo -e "${old}${ip}" > "$hist_file"
} }
is_steam_running(){ is_steam_running(){
if [[ $(is_beta) -eq 0 ]]; then wmctrl -ilx | awk 'tolower($3) == "steam.steam"'
wmctrl -l | grep "Steam Games List"
else
wmctrl -ilx | awk 'tolower($3) == "steam.steam"'
fi
} }
connect(){ connect(){
#TODO: sanitize/validate input #TODO: sanitize/validate input