PolyMC
PolyMC copied to clipboard
Unable to use environment variable "$INST_JAVA_ARGS" in custom commands
Operating System
Windows
Version of PolyMC
PolyMC 6.1
Version of Qt
Qt 6.6.1
Description of bug
When I use $INST_JAVA_ARGS in custom commands, it is identified as $INST_JAVA_ARGS, like path/to/javaw.exe_ARGS
Steps to reproduce
- Settings -> Custom Commands
- Input a command includes
$INST_JAVA_ARGStoPre-launch command, such asecho $INST_JAVA_ARGS(No need to consider whether it can be executed). - Launch any instance
- In console window of the instance -> Minecraft Log, you will see:
Running Pre-Launch command: echo path/to/javaw.exe_ARGS
Suspected cause
No response
This issue is unique
- [X] I have searched the issue tracker and did not find an issue describing my bug.