Add setting optional location for steam

This commit is contained in:
Philip Kristoffersen
2021-09-25 12:56:13 +02:00
parent f68db38a7f
commit 8d0996c67b
6 changed files with 80 additions and 54 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
let client = steamgriddb_api::Client::new(auth_key);
let mut search = CachedSearch::new(&client);
let userinfo_shortcuts = get_shortcuts_paths()?;
let userinfo_shortcuts = get_shortcuts_paths(&settings.steam)?;
println!("Found {} user(s)", userinfo_shortcuts.len());
for user in userinfo_shortcuts.iter() {