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

Populate environment variables with information for launched apps #2196

Open
hakasapl opened this issue Jan 23, 2025 · 0 comments
Open

Populate environment variables with information for launched apps #2196

hakasapl opened this issue Jan 23, 2025 · 0 comments
Labels
Feature Request User submitted feature request.

Comments

@hakasapl
Copy link

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
For every process forked from MO2 via the executables, it would be great if environment variables could be set for that process that expose:

  • Instance directory

These other things would be helpful but can be found from just the instance directory alone

  • Game directory
  • Base directory
  • Profile directory
  • Mod directory
  • Download directory

Describe alternatives you've considered
Currently launched apps need to ask the user for their instance directory, which can cause issues if they pass the wrong one.

Additional context
Primarily interested for ParallaxGen which uses some of this information to determine from which mod each file comes from, and it doesn't make sense for this to be an MO2 extension because it does a lot more.

@hakasapl hakasapl added the Feature Request User submitted feature request. label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request User submitted feature request.
Projects
None yet
Development

No branches or pull requests

1 participant