Skip to content

Commit

Permalink
Add Betrayal Beach
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksamies committed Aug 20, 2024
1 parent 447b733 commit 3a7a0cc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/model/game/GameManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,12 @@ export default class GameManager {
new StorePlatformMetadata(StorePlatform.OTHER)
],
"AmongUs.png", GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, ["au"]),

new Game("Betrayal Beach", "BetrayalBeach", "BetrayalBeach",
"Betrayal Beach", ["Betrayal Beach.exe"], "Betrayal Beach_Data",
"https://thunderstore.io/c/betrayal-beach/api/v1/package/", EXCLUSIONS,
[new StorePlatformMetadata(StorePlatform.STEAM, "2643810")], "BetrayalBeach.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, [""]),
];

static get activeGame(): Game {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export default class InstallationRuleApplicator {
buildBepInExRules("BelowTheStone"),
buildBepInExRules("Gloomwood"),
buildBepInExRules("AmongUs"),
buildBepInExRules("BetrayalBeach"),
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ const VARIANTS = {
BelowTheStone: MODLOADER_PACKAGES,
Gloomwood: MODLOADER_PACKAGES,
AmongUs: MODLOADER_PACKAGES,
BetrayalBeach: MODLOADER_PACKAGES,
};
// Exported separately from the definition in order to preserve the key names in the type definition.
// Otherwise this would become [key: string] and we couldn't use the game names for type hinting elsewhere.
Expand Down

0 comments on commit 3a7a0cc

Please sign in to comment.