Document the configuration path in Windows (fix #111)

This commit is contained in:
Roey Darwish Dror
2019-01-21 20:17:44 +02:00
parent 84323d9729
commit ef010ce7b5

View File

@@ -119,7 +119,7 @@ Just run `topgrade`. It will run the following steps:
* `--no-retry` - Don't ask to retry failed steps. * `--no-retry` - Don't ask to retry failed steps.
## Customization ## Customization
You can place a configuration file at `~/.config/topgrade.toml` (on macOS `~/Library/Preferences/topgrade.toml`).. Here's an example: Here's an example for a configuration file:
``` toml ``` toml
@@ -138,3 +138,11 @@ git_repos = [
will not proceed will not proceed
* `commands` - Custom upgrade steps. If any command fails it will be reported in the summary as all * `commands` - Custom upgrade steps. If any command fails it will be reported in the summary as all
upgrade steps are reported, but it will not cause Topgrade to stop. upgrade steps are reported, but it will not cause Topgrade to stop.
### Configuration path
The configuration should be placed in the following paths depending by the operating system:
* **macOS** - `~/Library/Preferences/topgrade.toml`
* **Windows** - `%APPDATA%/topgrade.toml`
* **Other Unix systems** - `~/.config/topgrade.toml`