From 86f482e48efe08cbc5667527a2ffee2398115f40 Mon Sep 17 00:00:00 2001 From: erri120 Date: Tue, 28 May 2024 21:29:36 +0200 Subject: [PATCH] Fix Xbox Game Pass path (#1475) --- src/Games/NexusMods.Games.StardewValley/StardewValley.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Games/NexusMods.Games.StardewValley/StardewValley.cs b/src/Games/NexusMods.Games.StardewValley/StardewValley.cs index 03341ebb6d..b15024786c 100644 --- a/src/Games/NexusMods.Games.StardewValley/StardewValley.cs +++ b/src/Games/NexusMods.Games.StardewValley/StardewValley.cs @@ -70,15 +70,11 @@ protected override Version GetVersion(GameLocatorResult installation) } } - protected override IReadOnlyDictionary GetLocations(IFileSystem fileSystem, - GameLocatorResult installation) + protected override IReadOnlyDictionary GetLocations(IFileSystem fileSystem, GameLocatorResult installation) { var result = new Dictionary() { - { - LocationId.Game, - installation.Store == GameStore.XboxGamePass ? installation.Path.Combine("Content") : installation.Path - }, + { LocationId.Game, installation.Path }, }; return result; }