diff options
-rwxr-xr-x | test | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -14,8 +14,8 @@ DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/1.png | |||
14 | DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 346 334 | 14 | DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --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 | ||
18 | DISPLAY=:99 xdotool sleep 1 | 17 | DISPLAY=:99 xdotool sleep 1 |
18 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/2.png | ||
19 | # Click agree to liscense | 19 | # Click agree to liscense |
20 | DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 34 286 | 20 | DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 34 286 |
21 | DISPLAY=:99 xdotool sleep 1 | 21 | DISPLAY=:99 xdotool sleep 1 |
@@ -27,6 +27,8 @@ DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --na | |||
27 | DISPLAY=:99 xdotool sleep 1 | 27 | DISPLAY=:99 xdotool sleep 1 |
28 | DISPLAY=:99 xdotool click 1 | 28 | DISPLAY=:99 xdotool click 1 |
29 | DISPLAY=:99 xdotool sleep 1 | 29 | DISPLAY=:99 xdotool sleep 1 |
30 | DISPLAY=:99 xdotool click 1 | ||
31 | DISPLAY=:99 xdotool sleep 1 | ||
30 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/4.png | 32 | DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/4.png |
31 | # Click next (Accept default install location) | 33 | # Click next (Accept default install location) |
32 | DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 350 337 | 34 | DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 350 337 |