blob: ad539378597366d4884f67e41f719d82f55acb77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Custom Commands

Pre-launch command runs before the instance launches and post-exit command runs after it exits.
Both will be run in the launcher's working folder with extra environment variables:
- $INST_NAME - Name of the instance
- $INST_ID - ID of the instance (its folder name)
- $INST_DIR - absolute path of the instance
- $INST_MC_DIR - absolute path of Minecraft
- $INST_JAVA - Java binary used for launch
- $INST_JAVA_ARGS - command-line parameters used for launch (warning: will not work correctly if arguments contain spaces)
Wrapper command allows launching using an extra wrapper program (like 'optirun' on Linux)
|