From c9482f642e51a3505ef491078d9761aa83d5761b Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Wed, 2 Oct 2024 18:29:06 -0500 Subject: Get window ID later so we actually get the installer --- test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test b/test index 137e711..b413d67 100755 --- a/test +++ b/test @@ -6,9 +6,9 @@ sleep 5 DISPLAY=:99 WINEDLLOVERRIDES="mscoree,mshtml=" wineboot -i # For some reason we have to set this here, having set .. ^ is not enough DISPLAY=:99 msiexec /i lua4win.msi & -win=$(DISPLAY=:99 xdotool search --sync --name "Installer") WIN="Lua4Win Installer 1.0 Setup" DISPLAY=:99 xdotool sleep 3 +win=$(DISPLAY=:99 xdotool search --sync --name "Installer") # Click agree to terms DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/1.png DISPLAY=:99 xdotool mousemove --window "$win" --sync 180 285 -- cgit v1.2.3-55-g6feb