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

fix(automods): Hotfix for #48

This commit is contained in:
aclist 2023-01-07 10:13:47 +09:00
parent 0a5b3d9186
commit 735ca114d0
2 changed files with 10 additions and 5 deletions

View file

@ -6,6 +6,10 @@
- Standardize dialogs
- Validate BM API key
## [3.1.7] 2023-01-06
### Fixed
- Hotfix for xdotool repeating input
## [3.1.6] 2023-01-01
### Changed
- Tick low pop servers by default

View file

@ -1,7 +1,7 @@
#!/bin/bash
set -o pipefail
version=3.1.6
version=3.1.7
aid=221100
game="dayz"
@ -1017,12 +1017,13 @@ console_dl(){
#https://github.com/jordansissel/xdotool/issues/67
#https://dwm.suckless.org/patches/current_desktop/
local wid=$(xdotool search --onlyvisible --name Steam)
xdotool windowactivate $wid
#xdotool windowactivate $wid
sleep 1.5s
for i in "${modids[@]}"; do
xdotool type --delay 15 --window $wid "workshop_download_item $aid $i"
sleep 0.2s
xdotool type --delay 0 "workshop_download_item $aid $i"
sleep 0.5s
xdotool key --window $wid Return
sleep 0.2s
sleep 0.5s
done
}
find_default_path(){