mirror of
https://github.com/FroggMaster/CreamInstaller.git
synced 2026-06-12 11:01:23 -07:00
Update SteamLibrary.cs
This commit is contained in:
@@ -31,9 +31,8 @@ internal static class SteamLibrary
|
||||
if (Program.Canceled)
|
||||
return games;
|
||||
foreach ((string appId, string name, string branch, int buildId, string gameDirectory) game in await GetGamesFromLibraryDirectory(
|
||||
libraryDirectory))
|
||||
if (!games.Any(_game => _game.appId == game.appId && _game.gameDirectory == game.gameDirectory))
|
||||
games.Add(game);
|
||||
libraryDirectory).Where(game => !games.Any(_game => _game.appId == game.appId && _game.gameDirectory == game.gameDirectory)))
|
||||
games.Add(game);
|
||||
}
|
||||
return games;
|
||||
});
|
||||
@@ -109,4 +108,4 @@ internal static class SteamLibrary
|
||||
}
|
||||
return gameDirectories;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user