Change default data path to $XDG_DATA_HOME/signal-cli

Closes #152 and #125
This commit is contained in:
AsamK 2018-12-08 18:26:54 +01:00
parent ffbc356218
commit 337f84ed21
4 changed files with 50 additions and 16 deletions

View file

@ -53,9 +53,11 @@ For more information read the [man page](https://github.com/AsamK/signal-cli/blo
The password and cryptographic keys are created when registering and stored in the current users home directory:
$HOME/.config/signal/data/
`$XDG_DATA_HOME/signal-cli/data/` (`$HOME/.local/share/signal-cli/data/`)
For legacy users, the old config directory is used as a fallback:
For legacy users, the old config directories are used as a fallback:
$HOME/.config/signal/data/
$HOME/.config/textsecure/data/