Update readme

This commit is contained in:
Philip Kristoffersen
2021-09-25 13:33:52 +02:00
parent 8d0996c67b
commit 7f1f75e431
3 changed files with 43 additions and 12 deletions
+4
View File
@@ -1,5 +1,9 @@
debug= false
[epic_games]
[legendary]
[steam]
[steamgrid_db]
+3 -3
View File
@@ -47,9 +47,9 @@ impl Settings {
// This file shouldn't be checked in to git
s.merge(File::with_name("local.toml").required(false))?;
// Add in settings from the environment (with a prefix of STEAM_SYNC)
// Eg.. `STEAM_SYNC_DEBUG=1 ./target/app` would set the `debug` key
s.merge(Environment::with_prefix("steam_sync"))?;
// Add in settings from the environment (with a prefix of STEAMSYNC)
// Eg.. `STEAMSYNC_DEBUG=1 ./target/app` would set the `debug` key
s.merge(Environment::with_prefix("steamsync").separator("-"))?;
s.try_into()
}