Merge branch 'master' into 'master'

Fix setting variables in windows .cmd

See merge request zxq9/zx!14
This commit is contained in:
Craig Everett 2019-08-11 11:08:04 +00:00
commit e4b698878f
2 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
REM Prepare the environment for ZX and launch it
set ZOMP_DIR="%LOCALAPPDATA%\zomp"
set VERSION=<"%ZOMP_DIR%\etc\version.txt"
set /P VERSION=<"%ZOMP_DIR%\etc\version.txt"
set ZX_DIR="%ZOMP_DIR%\lib\otpr\zx\%VERSION%"
pushd "%ZX_DIR%"
pushd %ZX_DIR%
escript.exe make_zx
popd
erl.exe -pa "%ZX_DIR%/ebin" -run zx run "%*"

View File

@ -1,9 +1,9 @@
REM Prepare the environment for ZX and launch it
set ZOMP_DIR="%LOCALAPPDATA%\zomp"
set VERSION=<"%ZOMP_DIR%\etc\version.txt"
set /P VERSION=<"%ZOMP_DIR%\etc\version.txt"
set ZX_DIR="%ZOMP_DIR%\lib\otpr\zx\%VERSION%"
pushd "%ZX_DIR%"
pushd %ZX_DIR%
escript.exe make_zx
popd
erl.exe -pa "%ZX_DIR%/ebin" -run zx run "%*"