Batch Steam product info requests

This commit is contained in:
mtkennerly 2024-04-20 22:25:33 -04:00
parent cf7747e5a9
commit c087e48a1b
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408
3 changed files with 99 additions and 67 deletions

View file

@ -251,7 +251,11 @@ impl Game {
}
fn add_file_constraint(&mut self, path: String, constraint: GameFileConstraint) {
self.files.entry(path).or_default().when.insert(constraint);
self.files
.entry(path.replace('\\', "/"))
.or_default()
.when
.insert(constraint);
}
pub fn integrate_steam(&mut self, cache: &SteamCacheEntry) {