mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Executable server jar is still a thing, but the run scripts are restored as an option for those that prefer it.
8 lines
333 B
Bash
8 lines
333 B
Bash
#!/usr/bin/env sh
|
|
# Add custom JVM arguments (such as RAM allocation) to the user_jvm_args.txt
|
|
|
|
java -jar @SHIM_JAR_FILE@ --onlyCheckJava || exit 1
|
|
|
|
# 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@/unix_args.txt "$@"
|