summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-10-02 18:29:06 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-10-02 18:29:06 -0500
commitc9482f642e51a3505ef491078d9761aa83d5761b (patch)
tree6e40e8559aa13f4687a4ec0ff653df597ca611a9
parentebe5be3792d13d391fb2ecc924ab158bfdb1de4c (diff)
downloadlua4win-dist-lua-c9482f642e51a3505ef491078d9761aa83d5761b.tar.gz
lua4win-dist-lua-c9482f642e51a3505ef491078d9761aa83d5761b.tar.bz2
lua4win-dist-lua-c9482f642e51a3505ef491078d9761aa83d5761b.zip
Get window ID later so we actually get the installer
-rwxr-xr-xtest2
1 files changed, 1 insertions, 1 deletions
diff --git a/test b/test
index 137e711..b413d67 100755
--- a/test
+++ b/test
@@ -6,9 +6,9 @@ sleep 5
6DISPLAY=:99 WINEDLLOVERRIDES="mscoree,mshtml=" wineboot -i 6DISPLAY=:99 WINEDLLOVERRIDES="mscoree,mshtml=" wineboot -i
7# For some reason we have to set this here, having set .. ^ is not enough 7# For some reason we have to set this here, having set .. ^ is not enough
8DISPLAY=:99 msiexec /i lua4win.msi & 8DISPLAY=:99 msiexec /i lua4win.msi &
9win=$(DISPLAY=:99 xdotool search --sync --name "Installer")
10WIN="Lua4Win Installer 1.0 Setup" 9WIN="Lua4Win Installer 1.0 Setup"
11DISPLAY=:99 xdotool sleep 3 10DISPLAY=:99 xdotool sleep 3
11win=$(DISPLAY=:99 xdotool search --sync --name "Installer")
12# Click agree to terms 12# Click agree to terms
13DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/1.png 13DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/1.png
14DISPLAY=:99 xdotool mousemove --window "$win" --sync 180 285 14DISPLAY=:99 xdotool mousemove --window "$win" --sync 180 285