Skip to content

Commit

Permalink
Add Supermarket Together
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksamies committed Aug 29, 2024
1 parent afc6b91 commit 9a2bb0c
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("Supermarket Together", "SupermarketTogether", "SupermarketTogether",
"Supermarket Together", ["Supermarket Together.exe"], "Supermarket Together_Data",
"https://thunderstore.io/c/supermarket-together/api/v1/package/", EXCLUSIONS,
[new StorePlatformMetadata(StorePlatform.STEAM, "2709570")], "SupermarketTogether.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("SupermarketTogether"),
]
}
}
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,
SupermarketTogether: 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 9a2bb0c

Please sign in to comment.