diff options
-rwxr-xr-x | test | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ DISPLAY=:99 WINEDLLOVERRIDES="mscoree,mshtml=" wineboot -i | |||
8 | DISPLAY=:99 msiexec /i lua4win.msi & | 8 | DISPLAY=:99 msiexec /i lua4win.msi & |
9 | win=$(DISPLAY=:99 xdotool search --sync --name "Installer") | 9 | win=$(DISPLAY=:99 xdotool search --sync --name "Installer") |
10 | WIN="Lua4Win Installer 1.0 Setup" | 10 | WIN="Lua4Win Installer 1.0 Setup" |
11 | DISPLAY=:99 xdotool sleep 1 | 11 | DISPLAY=:99 xdotool sleep 3 |
12 | # Click agree to terms | 12 | # Click agree to terms |
13 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/1.png | 13 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/1.png |
14 | DISPLAY=:99 xdotool mousemove --window "$win" --sync 180 285 | 14 | DISPLAY=:99 xdotool mousemove --window "$win" --sync 180 285 |