mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 03:49:14 +00:00
Propagate all arguments passed to the server start scripts to the game (#8060)
This commit is contained in:
1 parent
804f390064
commit
ee21224fff
2 files changed
+7
-5
No files matched your search
@@ -1,5 +1,6 @@
|
||||
REM Forge requires a configured set of both JVM and program arguments.
|
||||
REM Add custom JVM arguments to the user_jvm_args.txt
|
||||
REM Add custom program arguments {such as nogui} to this file at the end of the next line
|
||||
java @user_jvm_args.txt @libraries/@MAVEN_PATH@/win_args.txt
|
||||
pause
|
||||
REM Add custom program arguments {such as nogui} to this file in the next line before the %* or
|
||||
REM pass them to this script directly
|
||||
java @user_jvm_args.txt @libraries/@MAVEN_PATH@/win_args.txt %*
|
||||
pause
|
||||
+3
-2
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
# Forge requires a configured set of both JVM and program arguments.
|
||||
# Add custom JVM arguments to the user_jvm_args.txt
|
||||
# Add custom program arguments {such as nogui} to this file at the end of the next line
|
||||
java @user_jvm_args.txt @libraries/@MAVEN_PATH@/unix_args.txt
|
||||
# Add custom program arguments {such as nogui} to this file in the next line before the "$@" or
|
||||
# pass them to this script directly
|
||||
java @user_jvm_args.txt @libraries/@MAVEN_PATH@/unix_args.txt "$@"
|
||||
Reference in new issue
Block a user