Skip to content

Commit

Permalink
Merge pull request #9011 from vector-im/t3chguy/local-config
Browse files Browse the repository at this point in the history
Document some desktop app things
  • Loading branch information
jryans committed Mar 15, 2019
2 parents 771909e + 95611d2 commit faa9932
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,18 @@ yarn global add nativefier
nativefier https://riot.im/app/
```

Desktop app configuration
=========================

To run multiple instances of the desktop app for different accounts, you can launch the executable with the `--profile` argument followed by a unique identifier, e.g `riot-web --profile Work` for it to run a separate profile and not interfere with the default one.

To change the config.json for the desktop app, create a config file which will be used to override values in the config which ships in the package:
+ `%APPDATA%\$NAME\config.json` on Windows
+ `$XDG_CONFIG_HOME\$NAME\config.json` or `~/.config/$NAME/config.json` on Linux
+ `~Library/Application Support/$NAME/config.json` on macOS

In the paths above, `$NAME` is typically `Riot`, unless you use `--profile $PROFILE` in which case it becomes `Riot-$PROFILE`.

Development
===========

Expand Down

0 comments on commit faa9932

Please sign in to comment.