From ce0c322562bdcd6fd8c84b2cddcc7fd38f833b5f Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Fri, 11 Oct 2024 12:36:23 -0500 Subject: Add environment variables Add PATH and LUAROCKS_SYSCONFDIR --- test | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test b/test index 48049a4..37e62d4 100755 --- a/test +++ b/test @@ -9,19 +9,23 @@ DISPLAY=:99 msiexec /i lua4win.msi & WIN="Lua4Win Installer 1.0 Setup" DISPLAY=:99 xdotool sleep 3 win=$(DISPLAY=:99 xdotool search --sync --name "Installer") -# Click agree to terms +# Click Next DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/1.png -DISPLAY=:99 xdotool mousemove --window "$win" --sync 180 285 +DISPLAY=:99 xdotool mousemove --window "$win" --sync 346 334 DISPLAY=:99 xdotool sleep 1 DISPLAY=:99 xdotool click 1 DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/2.png DISPLAY=:99 xdotool sleep 1 -# Click Install -DISPLAY=:99 xdotool mousemove --window "$win" --sync 333 333 +# Click agree to liscense +DISPLAY=:99 xdotool mousemove --window "$win" --sync 34 286 DISPLAY=:99 xdotool sleep 1 DISPLAY=:99 xdotool click 1 DISPLAY=:99 xdotool sleep 1 DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/3.png +# Click next +DISPLAY=:99 xdotool sleep 1 +DISPLAY=:99 xdotool mousemove --window "$win" --sync 350 337 +DISPLAY=:99 xdotool sleep 1 DISPLAY=:99 xdotool click 1 DISPLAY=:99 xdotool sleep 1 DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/4.png -- cgit v1.2.3-55-g6feb