Skip to content

Commit

Permalink
Add Sailwind game
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksamies committed Dec 19, 2023
1 parent 46e8a50 commit 5b40f9b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Binary file added src/assets/images/game_selection/Sailwind.png
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 @@ -552,6 +552,12 @@ export default class GameManager {
"https://thunderstore.io/c/void-crew/api/v1/package/", "https://raw.githubusercontent.com/ebkr/r2modmanPlus/master/modExclusions.md",
[new StorePlatformMetadata(StorePlatform.STEAM, "1063420")], "VoidCrew.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.BEPINEX, []),

new Game("Sailwind", "Sailwind", "Sailwind",
"Sailwind", ["Sailwind.exe"], "Sailwind_Data",
"https://thunderstore.io/c/sailwind/api/v1/package/", "https://raw.githubusercontent.com/ebkr/r2modmanPlus/master/modExclusions.md",
[new StorePlatformMetadata(StorePlatform.STEAM, "1764530")], "Sailwind.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 @@ -118,6 +118,7 @@ export default class InstallationRuleApplicator {
buildBepInExRules("LethalCompany"),
buildBepInExRules("MeepleStation"),
buildBepInExRules("VoidCrew"),
buildBepInExRules("Sailwind"),
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ const VARIANTS = {
LethalCompany: MODLOADER_PACKAGES,
MeepleStation: MODLOADER_PACKAGES,
VoidCrew: MODLOADER_PACKAGES,
Sailwind: 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 5b40f9b

Please sign in to comment.