Clean up some stale data in the manifest

This commit is contained in:
mtkennerly 2023-12-22 22:20:04 +08:00
parent c1f9367c56
commit f25a3a91fe
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408
4 changed files with 83 additions and 144 deletions

View file

@ -120,6 +120,8 @@ impl Manifest {
steam_cache: &SteamCache,
games: Option<Vec<String>>,
) -> Result<(), Error> {
self.0.clear();
for (title, info) in &wiki_cache.0 {
if let Some(games) = &games {
if !games.contains(title) {