Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use environment variable "$INST_JAVA_ARGS" in custom commands #1688

Open
1 task done
FrenkYang0918 opened this issue Dec 14, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@FrenkYang0918
Copy link

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_ARGS to Pre-launch command, such as echo $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

  • I have searched the issue tracker and did not find an issue describing my bug.
@FrenkYang0918 FrenkYang0918 added the bug Something isn't working label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant