Skip to content

Commit

Permalink
Drop support for game specific exclusion lists
Browse files Browse the repository at this point in the history
While the feature has been available, there hasn't been need to diverge
from the "global" exclusion list. It wouldn't make much sense either,
as the packages themselves are global, and the visibility in manager
are handled by game specific package listings.
  • Loading branch information
anttimaki committed Jan 2, 2025
1 parent 10ca02f commit fa4702e
Show file tree
Hide file tree
Showing 4 changed files with 136 additions and 148 deletions.
2 changes: 0 additions & 2 deletions docs/Adding a game.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@
- Required for Unreal games relying on unreal-shimloader.
- **TsUrl**
- The Thunderstore API endpoint for the listing.
- **ExclusionsUrl**
- The URL used to load package exclusions. Generally just kept the same. No real reason to change until it becomes a large file as extra overhead to maintain.
- **Platforms**
- Array of `StorePlatformMetadata` for the different supported storefronts. Identifier is not required, however is expected for Steam and EGS (more potentially in future).
- **GameImage**
Expand Down
8 changes: 1 addition & 7 deletions src/model/game/Game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export default class Game {
private readonly _exeName: string[];
private readonly _dataFolderName: string;
private readonly _thunderstoreUrl: string;
private readonly _exclusionsUrl: string;
private readonly _storePlatformMetadata: StorePlatformMetadata[];
private readonly _gameImage: string;
private readonly _displayMode: GameSelectionDisplayMode;
Expand All @@ -27,7 +26,7 @@ export default class Game {

constructor(displayName: string, internalFolderName: GAME_NAME, settingsIdentifier: string,
steamFolderName: string, exeName: string[], dataFolderName: string,
tsUrl: string, exclusionsUrl: string, platforms: StorePlatformMetadata[], gameImage: string,
tsUrl: string, platforms: StorePlatformMetadata[], gameImage: string,
displayMode: GameSelectionDisplayMode, instanceType: GameInstanceType, packageLoader: PackageLoader, additionalSearchStrings?: string[]) {

this._displayName = displayName;
Expand All @@ -37,7 +36,6 @@ export default class Game {
this._exeName = exeName;
this._dataFolderName = dataFolderName;
this._thunderstoreUrl = tsUrl;
this._exclusionsUrl = exclusionsUrl;
this._storePlatformMetadata = platforms;
this._activePlatform = platforms[0];
this._gameImage = gameImage;
Expand Down Expand Up @@ -75,10 +73,6 @@ export default class Game {
return this._thunderstoreUrl;
}

get exclusionsUrl(): string {
return this._exclusionsUrl;
}

get storePlatformMetadata(): StorePlatformMetadata[] {
return this._storePlatformMetadata;
}
Expand Down
Loading

0 comments on commit fa4702e

Please sign in to comment.