updated config file

This commit is contained in:
tastytea 2018-05-20 21:34:01 +02:00
parent 2efd88bc4d
commit 3bcb775df5
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
1 changed files with 5 additions and 5 deletions

View File

@ -47,17 +47,17 @@ Install with `make install`.
**The config file has changed from cfg to JSON in 0.4.0.** **The config file has changed from cfg to JSON in 0.4.0.**
You will need to generate an access token yourself at the moment. Create a Start expandurl-mastodon without parameters.
config file with your account and access token in
`${HOME}/.config/expandurl-mastodon.json`: If no config file is found, you will be asked to provide your account address
and an acess token is generated. The config file can be found in
`${HOME}/.config/expandurl-mastodon.json` and looks like this:
{ {
"account": "expandurl@example.social", "account": "expandurl@example.social",
"access_token": "abc123" "access_token": "abc123"
} }
Now start expandurl-mastodon without parameters.
# Copyright # Copyright
Copyright © 2018 tastytea <tastytea@tastytea.de>. Copyright © 2018 tastytea <tastytea@tastytea.de>.