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

Move default config and data dirs to better align with XDG spec and user expectations #1046

Closed
wants to merge 4 commits into from

Conversation

esimkowitz
Copy link
Member

@esimkowitz esimkowitz commented Oct 16, 2024

Defaults to using the old ~/.waveterm or WAVETERM_HOME directory if it exists, to ensure backwards compatibility. Going forward for new installations, config files will be stored at ~/.config/waveterm on macOS and Linux and %LOCALAPPDATA%\waveterm\config on Windows and everything else will be stored at ~/.local/share/waveterm on macOS and Linux and %LOCALAPPDATA%\waveterm\data on Windows.

If XDG_DATA_HOME and XDG_CONFIG_HOME are defined, these will be used instead. WAVETERM_DATA_HOME and WAVETERM_CONFIG_HOME will further override all defaults.

@esimkowitz esimkowitz changed the title Move default config and data dirs to better align with user expectations Move default config and data dirs to better align with XDG spec and user expectations Oct 16, 2024
@esimkowitz esimkowitz closed this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant