Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Make THESEUS_CONFIG_DIR work in dev mode#5355

Open
creeperkatze wants to merge 3 commits intomodrinth:main from
creeperkatze:app-config-dir-fix
Open

Make THESEUS_CONFIG_DIR work in dev mode #5355
creeperkatze wants to merge 3 commits intomodrinth:main from
creeperkatze:app-config-dir-fix

Conversation

@creeperkatze
Copy link
Contributor

@creeperkatze creeperkatze commented Feb 11, 2026

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.

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.

@IMB11 IMB11 added the 📂 Under review [Triage] Is being reviewed by Modrinth Staff for future roadmap consideration. label Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

📂 Under review [Triage] Is being reviewed by Modrinth Staff for future roadmap consideration.

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Comments

AltStyle によって変換されたページ (->オリジナル) /