diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-10-26 18:20:44 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-10-26 18:20:44 -0500 |
| commit | 779b36d87c0405042fb02c19b5990b454f76a359 (patch) | |
| tree | 4e6fc3b7d309b929cdd0c3c7d9c0f5fef868cac6 /test | |
| parent | b4cf75cd9e3d43b84c82f77b2932c83b7ee6a01b (diff) | |
| download | lua4win-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-x | test | 40 |
1 files changed, 3 insertions, 37 deletions
| @@ -8,43 +8,6 @@ DISPLAY=:99 WINEDLLOVERRIDES="mscoree,mshtml=" wineboot -i | |||
| 8 | DISPLAY=:99 msiexec /i lua4win.msi & | 8 | DISPLAY=:99 msiexec /i lua4win.msi & |
| 9 | WIN="Lua4Win Installer 1.0 Setup" | 9 | WIN="Lua4Win Installer 1.0 Setup" |
| 10 | DISPLAY=:99 xdotool sleep 3 | 10 | DISPLAY=: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 |
| 50 | wine reg add "HKCU\\Control Panel\\Accessibility\\Keyboard Preference" /v "On" /d "0" /f | 13 | wine reg add "HKCU\\Control Panel\\Accessibility\\Keyboard Preference" /v "On" /d "0" /f |
| @@ -79,3 +42,6 @@ test -e "$INSTALLDIR/luajit.exe" | |||
| 79 | test -e "$INSTALLDIR/luarocks.exe" | 42 | test -e "$INSTALLDIR/luarocks.exe" |
| 80 | wine "$INSTALLDIR/luarocks.exe" --help | 43 | wine "$INSTALLDIR/luarocks.exe" --help |
| 81 | wine "$INSTALLDIR/luarocks.exe" config | 44 | wine "$INSTALLDIR/luarocks.exe" config |
| 45 | |||
| 46 | # Try installing something with it | ||
| 47 | wine "luarocks install lpeg" | ||
