Skip to content

Commit

Permalink
Include free preload packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Citrinate committed Sep 26, 2024
1 parent 56cba74 commit e5639d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion FreePackages/Data/FilterableApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ internal bool IsFree() {
}

internal bool IsAvailable() {
if (ReleaseState != "released" && State != "eStateAvailable") {
string[] availableReleaseStates = ["released", "preloadonly"];
string[] availableStates = ["eStateAvailable"];
if (!availableReleaseStates.Contains(ReleaseState) || !availableStates.Contains(State)) {
// App not released yet
// Note: There's another seemingly relevant field: kv["common"]["steam_release_date"]
// steam_release_date is not checked because an app can be "released", still have a future release date, and still be redeemed
Expand Down

0 comments on commit e5639d1

Please sign in to comment.