diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-10-11 12:36:23 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-10-11 12:36:23 -0500 |
| commit | ce0c322562bdcd6fd8c84b2cddcc7fd38f833b5f (patch) | |
| tree | 1ae31f6dedcb2478bd33e5df4e02a41b1805586d /test | |
| parent | 6d3f17bc31e34067f5bf7c62b072d4fdd1457156 (diff) | |
| download | lua4win-dist-lua-ce0c322562bdcd6fd8c84b2cddcc7fd38f833b5f.tar.gz lua4win-dist-lua-ce0c322562bdcd6fd8c84b2cddcc7fd38f833b5f.tar.bz2 lua4win-dist-lua-ce0c322562bdcd6fd8c84b2cddcc7fd38f833b5f.zip | |
Add environment variables
Add PATH and LUAROCKS_SYSCONFDIR
Diffstat (limited to 'test')
| -rwxr-xr-x | test | 12 |
1 files changed, 8 insertions, 4 deletions
| @@ -9,19 +9,23 @@ DISPLAY=:99 msiexec /i lua4win.msi & | |||
| 9 | WIN="Lua4Win Installer 1.0 Setup" | 9 | WIN="Lua4Win Installer 1.0 Setup" |
| 10 | DISPLAY=:99 xdotool sleep 3 | 10 | DISPLAY=:99 xdotool sleep 3 |
| 11 | win=$(DISPLAY=:99 xdotool search --sync --name "Installer") | 11 | win=$(DISPLAY=:99 xdotool search --sync --name "Installer") |
| 12 | # Click agree to terms | 12 | # Click Next |
| 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 346 334 |
| 15 | DISPLAY=:99 xdotool sleep 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 | DISPLAY=:99 xdotool sleep 1 | 18 | DISPLAY=:99 xdotool sleep 1 |
| 19 | # Click Install | 19 | # Click agree to liscense |
| 20 | DISPLAY=:99 xdotool mousemove --window "$win" --sync 333 333 | 20 | DISPLAY=:99 xdotool mousemove --window "$win" --sync 34 286 |
| 21 | DISPLAY=:99 xdotool sleep 1 | 21 | DISPLAY=:99 xdotool sleep 1 |
| 22 | DISPLAY=:99 xdotool click 1 | 22 | DISPLAY=:99 xdotool click 1 |
| 23 | DISPLAY=:99 xdotool sleep 1 | 23 | DISPLAY=:99 xdotool sleep 1 |
| 24 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/3.png | 24 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/3.png |
| 25 | # Click next | ||
| 26 | DISPLAY=:99 xdotool sleep 1 | ||
| 27 | DISPLAY=:99 xdotool mousemove --window "$win" --sync 350 337 | ||
| 28 | DISPLAY=:99 xdotool sleep 1 | ||
| 25 | DISPLAY=:99 xdotool click 1 | 29 | DISPLAY=:99 xdotool click 1 |
| 26 | DISPLAY=:99 xdotool sleep 1 | 30 | DISPLAY=:99 xdotool sleep 1 |
| 27 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/4.png | 31 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/4.png |
