mirror of
https://github.com/lelgenio/dzgui-nix.git
synced 2025-06-15 19:32:56 -03:00
send noop command to steam before installing mods
This commit is contained in:
parent
857c053692
commit
12ca1bf0a7
2 changed files with 16 additions and 0 deletions
15
patches/send-noop-before-installing-mods.patch
Normal file
15
patches/send-noop-before-installing-mods.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
diff --git a/dzgui.sh b/dzgui.sh
|
||||
index 97b5cd0..5e661cc 100755
|
||||
--- a/dzgui.sh
|
||||
+++ b/dzgui.sh
|
||||
@@ -1056,6 +1056,10 @@ console_dl(){
|
||||
local wid=$(xdotool search --onlyvisible --name Steam)
|
||||
#xdotool windowactivate $wid
|
||||
sleep 1.5s
|
||||
+ xdotool type --delay 0 "noop"
|
||||
+ sleep 0.5s
|
||||
+ xdotool key --window $wid Return
|
||||
+ sleep 0.5s
|
||||
for i in "${modids[@]}"; do
|
||||
xdotool type --delay 0 "workshop_download_item $aid $i"
|
||||
sleep 0.5s
|
Loading…
Add table
Add a link
Reference in a new issue