10 lines
262 B
Batchfile
10 lines
262 B
Batchfile
REM Prepare the environment for ZX and launch it
|
|
|
|
set ZOMP_DIR="%LOCALAPPDATA%\zomp"
|
|
set VERSION=<"%ZOMP_DIR%\etc\version.txt"
|
|
set ZX_DIR="%ZOMP_DIR%\lib\otpr\zx\%VERSION%"
|
|
pushd "%ZX_DIR%"
|
|
escript.exe make_zx
|
|
popd
|
|
erl.exe -pa "%ZX_DIR%/ebin" -run zx start "%*"
|