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

AppDataDir is wrong for Linux/unix #14

Closed
andwj opened this issue Sep 29, 2018 · 2 comments
Closed

AppDataDir is wrong for Linux/unix #14

andwj opened this issue Sep 29, 2018 · 2 comments

Comments

@andwj
Copy link

andwj commented Sep 29, 2018

In Linux, and unix in general, it is considered quite rude to create a file or directory in $HOME which does not begin with a dot.

Hence you should use $HOME/.config instead of $HOME/lib for the AppDataDir. This would be consistent with Debian policy, the XDG Base Directory Specification, etc...

@mjl-
Copy link
Owner

mjl- commented Dec 14, 2020

fixed in latest version, by using os.UserConfigDir

@mjl- mjl- closed this as completed Dec 14, 2020
@mjl-
Copy link
Owner

mjl- commented Dec 14, 2020

thanks for reporting!

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