sentry-cli icon indicating copy to clipboard operation
sentry-cli copied to clipboard

feat(auth): Allow global config to be located in XDG directory

Open elramen opened this issue 1 year ago • 0 comments

If the global config file does not exist in the home directory, look in the following paths:

  • Linux: $XDG_CONFIG_HOME/sentry/sentrycli.ini and $HOME/.config/sentry/sentrycli.ini
  • Mac: $HOME/Library/Application Support/sentry/sentrycli.ini
  • Windows: {FOLDERID_RoamingAppData}

This enables users to keep their home dir clean, adhering to standards such as XDG on linux.

Fixes GH-1521

elramen avatar May 02 '24 15:05 elramen