diff options
Diffstat (limited to 'build/find-game-folder.targets')
-rw-r--r-- | build/find-game-folder.targets | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build/find-game-folder.targets b/build/find-game-folder.targets index 0a766ad4..ec8a3787 100644 --- a/build/find-game-folder.targets +++ b/build/find-game-folder.targets @@ -44,7 +44,11 @@ <!-- set game metadata --> <PropertyGroup> + <!--standard executable name--> <GameExecutableName>Stardew Valley</GameExecutableName> <GameExecutableName Condition="$(OS) != 'Windows_NT'">StardewValley</GameExecutableName> + + <!--Linux install on Windows (for 64-bit hack)--> + <GameExecutableName Condition="$(OS) == 'Windows_NT' AND !Exists('$(GamePath)\$(GameExecutableName).exe') AND Exists('$(GamePath)\StardewValley.exe')">StardewValley</GameExecutableName> </PropertyGroup> </Project> |