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

[minor] Linux xdg user folder standard #347

Open
pirate486743186 opened this issue Sep 17, 2022 · 1 comment
Open

[minor] Linux xdg user folder standard #347

pirate486743186 opened this issue Sep 17, 2022 · 1 comment

Comments

@pirate486743186
Copy link

This is minor, the game still runs fine.

Normally, the config should go in $XDG_CONFIG_HOME/taisei, if XDG_CONFIG_HOME is not set, then in .config/taisei . A lot of projects hate moving these files.

log.txt should go in $XDG_CACHE_HOME/taisei, if $XDG_CACHE_HOME is not set, then in .cache/taisei. This can easily be moved. You could ass well rename it to taisei.log.

For .local/share/taisei, $XDG_DATA_HOME should normally be checked first if it exist. I don't know if this is done already.

the xdg standard
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

@chayleaf
Copy link

XDG_STATE_HOME should be used for logs

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

No branches or pull requests

2 participants