summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-10-26 18:20:44 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-10-26 18:20:44 -0500
commit779b36d87c0405042fb02c19b5990b454f76a359 (patch)
tree4e6fc3b7d309b929cdd0c3c7d9c0f5fef868cac6 /test
parentb4cf75cd9e3d43b84c82f77b2932c83b7ee6a01b (diff)
downloadlua4win-dist-lua-779b36d87c0405042fb02c19b5990b454f76a359.tar.gz
lua4win-dist-lua-779b36d87c0405042fb02c19b5990b454f76a359.tar.bz2
lua4win-dist-lua-779b36d87c0405042fb02c19b5990b454f76a359.zip
Add more paths
Add the luarocks/bin folders to the PATH
Diffstat (limited to 'test')
-rwxr-xr-xtest40
1 files changed, 3 insertions, 37 deletions
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
8DISPLAY=:99 msiexec /i lua4win.msi & 8DISPLAY=:99 msiexec /i lua4win.msi &
9WIN="Lua4Win Installer 1.0 Setup" 9WIN="Lua4Win Installer 1.0 Setup"
10DISPLAY=:99 xdotool sleep 3 10DISPLAY=:99 xdotool sleep 3
11# win=$(DISPLAY=:99 xdotool search --sync --name "Installer")
12# # Click Next
13# 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
15# DISPLAY=:99 xdotool sleep 1
16# DISPLAY=:99 xdotool click 1
17# DISPLAY=:99 xdotool sleep 1
18# DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/2.png
19# # Click agree to liscense
20# DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 34 286
21# DISPLAY=:99 xdotool sleep 1
22# DISPLAY=:99 xdotool click 1
23# DISPLAY=:99 xdotool sleep 1
24# DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/3.png
25# # Click next
26# DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 350 337
27# DISPLAY=:99 xdotool sleep 1
28# DISPLAY=:99 xdotool click 1
29# DISPLAY=:99 xdotool sleep 1
30# DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/4.png
31# # Click next (Accept default install location)
32# DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 350 337
33# DISPLAY=:99 xdotool sleep 1
34# DISPLAY=:99 xdotool click 1
35# DISPLAY=:99 xdotool sleep 1
36# DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/5.png
37# # Click install
38# DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/6.png
39# DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 335 335
40# DISPLAY=:99 xdotool sleep 1
41# DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/7.png
42# DISPLAY=:99 xdotool click 1
43# DISPLAY=:99 xdotool sleep 1
44# DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/8.png
45# DISPLAY=:99 xdotool sleep 5
46# DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/9.png
47# tar -czf images.tar.gz *.png
48 11
49# Try to turn off underlined hotkeys 12# Try to turn off underlined hotkeys
50wine reg add "HKCU\\Control Panel\\Accessibility\\Keyboard Preference" /v "On" /d "0" /f 13wine reg add "HKCU\\Control Panel\\Accessibility\\Keyboard Preference" /v "On" /d "0" /f
@@ -79,3 +42,6 @@ test -e "$INSTALLDIR/luajit.exe"
79test -e "$INSTALLDIR/luarocks.exe" 42test -e "$INSTALLDIR/luarocks.exe"
80wine "$INSTALLDIR/luarocks.exe" --help 43wine "$INSTALLDIR/luarocks.exe" --help
81wine "$INSTALLDIR/luarocks.exe" config 44wine "$INSTALLDIR/luarocks.exe" config
45
46# Try installing something with it
47wine "luarocks install lpeg"