From 779b36d87c0405042fb02c19b5990b454f76a359 Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Sat, 26 Oct 2024 18:20:44 -0500 Subject: Add more paths Add the luarocks/bin folders to the PATH --- test | 40 +++------------------------------------- 1 file changed, 3 insertions(+), 37 deletions(-) (limited to 'test') diff --git a/test b/test index 83f1130..48323f9 100755 --- a/test +++ b/test @@ -8,43 +8,6 @@ DISPLAY=:99 WINEDLLOVERRIDES="mscoree,mshtml=" wineboot -i 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 Next -# DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/1.png -# DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 346 334 -# DISPLAY=:99 xdotool sleep 1 -# DISPLAY=:99 xdotool click 1 -# DISPLAY=:99 xdotool sleep 1 -# DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/2.png -# # Click agree to liscense -# DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --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 mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --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 -# # Click next (Accept default install location) -# DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --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/5.png -# # Click install -# DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/6.png -# DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 335 335 -# DISPLAY=:99 xdotool sleep 1 -# DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/7.png -# DISPLAY=:99 xdotool click 1 -# DISPLAY=:99 xdotool sleep 1 -# DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/8.png -# DISPLAY=:99 xdotool sleep 5 -# DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/9.png -# tar -czf images.tar.gz *.png # Try to turn off underlined hotkeys wine reg add "HKCU\\Control Panel\\Accessibility\\Keyboard Preference" /v "On" /d "0" /f @@ -79,3 +42,6 @@ test -e "$INSTALLDIR/luajit.exe" test -e "$INSTALLDIR/luarocks.exe" wine "$INSTALLDIR/luarocks.exe" --help wine "$INSTALLDIR/luarocks.exe" config + +# Try installing something with it +wine "luarocks install lpeg" -- cgit v1.2.3-55-g6feb