Skip to content

Commit

Permalink
Merge pull request #394 from /issues/388-ReleasedGamesBeingFiltered
Browse files Browse the repository at this point in the history
  • Loading branch information
tpill90 authored Dec 20, 2024
2 parents 745e3f5 + e2c3f53 commit 8ab735d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions SteamPrefill/Handlers/AppInfoHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,10 @@ public async Task<List<AppInfo>> GetAvailableGamesByIdAsync(List<uint> appIds)
appInfos.Add(await GetAppInfoAsync(appId));
}



// Filtering out some apps exclusions
// We'll filter out some specific non-game appids which would otherwise be included.
var excludedAppIds = Enum.GetValues(typeof(ExcludedAppId)).Cast<uint>().ToList();
var filteredGames = appInfos.Where(e => (e.Type == AppType.Game || e.Type == AppType.Beta)
&& (e.ReleaseState == ReleaseState.Released || e.ReleaseState == ReleaseState.Prerelease)
&& (e.ReleaseState != ReleaseState.Unavailable && e.ReleaseState != ReleaseState.Disabled)
&& e.SupportsWindows
&& _steam3Session.LicenseManager.AccountHasAppAccess(e.AppId))
.Where(e => !excludedAppIds.Contains(e.AppId))
Expand Down
1 change: 0 additions & 1 deletion docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ extra:
prefill_name: SteamPrefill
gaming_service_name: Steam
repo_name: steam-lancache-prefill
cache_trigger_domain: lancache.steamcontent.com

theme:
name: readthedocs
Expand Down

0 comments on commit 8ab735d

Please sign in to comment.