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

Linux cache placement should follow the XDG base specification #104

Open
sago007 opened this issue Apr 7, 2016 · 0 comments
Open

Linux cache placement should follow the XDG base specification #104

sago007 opened this issue Apr 7, 2016 · 0 comments

Comments

@sago007
Copy link

sago007 commented Apr 7, 2016

Currently capsules are unpacked to "$HOME/.capsule".

However according to the XDG Base specification it should be stored in "$XDG_CACHE_HOME/capsule" or fallback to "$HOME/.cache/capsule" if $XDG_CACHE_HOME is not defined (and it is almost never defined because .cache is such a sensible choice).

This is especially useful for cache files because you often want to exclude them from backups. It also matches the Windows behaviour of capsules. On Windows LOCALAPPDATA is chosen over APPDATA.

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

No branches or pull requests

2 participants