diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-10-02 18:19:20 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-10-02 18:19:20 -0500 |
| commit | 8463b90c5b5bd7f50243cb9388e40b1af13a0d28 (patch) | |
| tree | eada06154f341ef6729d172f6ee2b35da7b85f8e | |
| parent | 4486cc02b13c04148d831db9224eeafe75f67295 (diff) | |
| download | lua4win-dist-lua-8463b90c5b5bd7f50243cb9388e40b1af13a0d28.tar.gz lua4win-dist-lua-8463b90c5b5bd7f50243cb9388e40b1af13a0d28.tar.bz2 lua4win-dist-lua-8463b90c5b5bd7f50243cb9388e40b1af13a0d28.zip | |
Wait a little longer for things to happen
| -rwxr-xr-x | test | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -8,16 +8,16 @@ 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 0.1 | 11 | DISPLAY=:99 xdotool sleep 1 |
| 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 |
| 15 | DISPLAY=:99 xdotool sleep 0.1 | 15 | DISPLAY=:99 xdotool sleep 1 |
| 16 | DISPLAY=:99 xdotool click 1 | 16 | DISPLAY=:99 xdotool click 1 |
| 17 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/2.png | 17 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/2.png |
| 18 | # Click Install | 18 | # Click Install |
| 19 | DISPLAY=:99 xdotool mousemove --window "$win" --sync 333 333 | 19 | DISPLAY=:99 xdotool mousemove --window "$win" --sync 333 333 |
| 20 | DISPLAY=:99 xdotool sleep 0.1 | 20 | DISPLAY=:99 xdotool sleep 1 |
| 21 | DISPLAY=:99 xdotool click 1 | 21 | DISPLAY=:99 xdotool click 1 |
| 22 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/3.png | 22 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/3.png |
| 23 | tar -czf images.tar.gz *.png | 23 | tar -czf images.tar.gz *.png |
