1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-28 05:12:36 +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
- 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
### Fixed
- Case folding when targeting WM_CLASS

View file

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