diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-03-30 20:10:55 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-03-30 20:10:55 -0400 |
commit | 551153bb00c8a3a448db4b3a059e8322108b772a (patch) | |
tree | d887afdd040f55f5c05a8af1defaed7b7fd3bf01 /build | |
parent | 75f3600ab1eae06463ae8f386c5ab71f3815142f (diff) | |
download | SMAPI-551153bb00c8a3a448db4b3a059e8322108b772a.tar.gz SMAPI-551153bb00c8a3a448db4b3a059e8322108b772a.tar.bz2 SMAPI-551153bb00c8a3a448db4b3a059e8322108b772a.zip |
prepare mod build package for 64-bit SMAPI (#767)
Diffstat (limited to 'build')
-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> |