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

Support modern locations for configuration files for Unix (XDG_CONFIG_HOME and ~/.config/) #41

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ma11ock
Copy link

@Ma11ock Ma11ock commented Apr 22, 2022

Modern Linux/BSD systems have moved their configuration files out of the home directory and into ~/.config, or the directory pointed to by the environment variable XDG_CONFIG_HOME. This patch adds support for these directories. Tested on Linux and Windows.

@bones-was-here
Copy link
Contributor

I think XDG support should include putting the dlcache in ~/.cache because otherwise it will end up in ~/.config which means that forevermore DP will have to look for it there (even after support for ~/.cache is added).

Please add a --signoff to your commit(s) (to clarify you are releasing the code as GPLv2+).

@Cloudwalk9 is there anything else that needs to be changed at the same time?

@bones-was-here bones-was-here marked this pull request as draft January 18, 2023 05:37
@bones-was-here
Copy link
Contributor

Marking as Draft as it can't be merged in the current state.
All the issues mentioned by div https://gitlab.com/xonotic/darkplaces/-/merge_requests/10 and I https://gitlab.com/xonotic/darkplaces/-/issues/16 will need to be addressed.

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.

2 participants