mirror of
https://github.com/OMGeeky/ATCS.git
synced 2025-12-31 16:44:37 +01:00
v0.5.2 updated. Messed up something in scripts about paths containing
spaces.
This commit is contained in:
@@ -8,13 +8,13 @@ set JAVA_OPTS=
|
||||
set ENV_FILE=%ATCS_DIR%ATCS.env.bat
|
||||
set MAIN_CLASS=com.gpl.rpg.atcontentstudio.ATContentStudio
|
||||
|
||||
if exist %ENV_FILE% (
|
||||
call %ENV_FILE%
|
||||
if exist "%ENV_FILE%" (
|
||||
call "%ENV_FILE%"
|
||||
) else (
|
||||
echo REM set MAX_MEM=%MAX_MEM% > %ENV_FILE%
|
||||
echo REM set JAVA=%JAVA% >> %ENV_FILE%
|
||||
echo REM set JAVA_OPTS=%JAVA_OPTS% >> %ENV_FILE%
|
||||
echo. >> %ENV_FILE%
|
||||
echo REM set MAX_MEM=%MAX_MEM% > "%ENV_FILE%"
|
||||
echo REM set JAVA=%JAVA% >> "%ENV_FILE%"
|
||||
echo REM set JAVA_OPTS=%JAVA_OPTS% >> "%ENV_FILE%"
|
||||
echo. >> "%ENV_FILE%"
|
||||
)
|
||||
|
||||
start "" "%JAVA%" %JAVA_OPTS% -Xmx%MAX_MEM% -cp "%CP%" %MAIN_CLASS%
|
||||
|
||||
Reference in New Issue
Block a user