datamon icon indicating copy to clipboard operation
datamon copied to clipboard

Config directories

Open casualjim opened this issue 7 years ago • 2 comments

For global configuration of datamon we will need to provide a place to store the configuration in the home directory.

Config directories

Use OS specific config directories.

OSX

This means asking for the Application Support directory:

Linux

This means using the contents of $XDG_CONFIG_DIRS:

Windows

%APPDATA%

C:\Users\username\AppData\Roaming

casualjim avatar Nov 17 '18 19:11 casualjim

Moving content from slack posted by @casualjim

https://github.com/OpenPeeDeeP/xdg https://github.com/shibukawa/configdir datamon is not following OS conventions to store config files, opting to put it in the cluttered $HOME instead those libraries provide a different basepath for linux, osx and windows to store config files in the right locations

kerneltime avatar May 10 '19 18:05 kerneltime

Will try to get this done before we cut the next release and move to a better way of shipping the CLI.

kerneltime avatar May 10 '19 18:05 kerneltime