3 ms·
Yes, I understand, and I feel your plight, as it stands this is what I would use: $APPDATA on windows[0] or $LOCALAPPDATA $XDG_CONFIG_HOME on linux[1], which
by dijit 7y ago
Yes, I understand, and I feel your plight, as it stands this is what I would use:
$APPDATA on windows[0] or $LOCALAPPDATA
$XDG_CONFIG_HOME on linux[1], which is where you're getting the ~/.config from.
For MacOS, it's a mess[2], you should probably use ~/Library/Application Support/script_name/ for most things though.
[0]: https://ss64.com/nt/syntax-variables.html https://ss64.com/nt/syntax-variables.html
[1]: https://wiki.archlinux.org/index.php/XDG_Base_Directory https://wiki.archlinux.org/index.php/XDG_Base_Directory
[2]: https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html#//apple_ref/doc/uid/TP40010672-CH2-SW1 https://developer.apple.com/library/archive/documentation/Fi...
- jcranmer 7y ago> $XDG_CONFIG_HOME on linux[1], which is where you're getting the ~/.config from. XDG_CONFIG_HOME is ~/.config if not otherwise specified.