Hacker News new | past | comments | ask | show | jobs | submit login

> Use XDG (~/.config/22120)

That's only for configuration files. The actual data should go in $XDG_DATA_HOME, by default ~/.local/share/22120/. Many languages have a tool (e.g. https://pypi.org/p/appdirs/ ) for finding the appropriate data/config/cache directory for each OS.

https://wiki.archlinux.org/index.php/XDG_Base_Directory




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: