Batch Steam product info requests
This commit is contained in:
parent
cf7747e5a9
commit
c087e48a1b
3 changed files with 99 additions and 67 deletions
|
@ -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) {
|
||||
|
|
Reference in a new issue