Skip to content

Conversation

@creeperkatze
Copy link
Contributor

Fixes THESEUS_CONFIG_DIR not working when running the app via app:dev by using option_env!() (compile-time) instead of std::env::var_os() (runtime).

This aligns with the existing pattern used by MODRINTH_URL and other environment variables.

@creeperkatze
Copy link
Contributor Author

Just a little disclaimer, this changes the behavior to use compile-time environment variables (requiring rebuild to change).

While the env variable shouldnt interfere with any app migration stuff, this could be breaking if THESEUS_CONFIG_DIR i used in some non-dev context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant