mirror of
https://github.com/MinecraftForge/MinecraftForge
synced 2026-08-22 04:26:10 -04:00
15 lines
495 B
Batchfile
15 lines
495 B
Batchfile
@echo off
|
|
REM Add custom JVM arguments (such as RAM allocation) to the user_jvm_args.txt
|
|
|
|
java -jar @SHIM_JAR_FILE@ --onlyCheckJava
|
|
if %ERRORLEVEL% NEQ 0 (
|
|
echo.
|
|
echo If you're struggling to fix the error above, ask for help on the forums or Discord mentioned in the readme.
|
|
goto :exit
|
|
)
|
|
|
|
REM Add custom program arguments (such as nogui) to the next line before the %* or pass them to this script directly
|
|
java @user_jvm_args.txt @libraries/@MAVEN_PATH@/win_args.txt %*
|
|
|
|
:exit
|
|
pause
|