Merge pull request #21 from Gauley123/patch-1

Used `/d` parameter for change directory with drive.
This commit is contained in:
Alexander Popov 2021-11-07 02:17:28 +03:00 committed by GitHub
commit a4fc72dc52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,8 +37,7 @@ set "JVM_RAM=-Xmx2G"
set "JVM_ARGS=-XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M"
:: running minecraft
%SystemDrive%
cd %MC_DIR%
cd /d %MC_DIR%
java.exe %JVM_RAM% %JVM_ARGS% ^
-Djava.library.path=%NATIVES_DIR% ^