summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-03-30 20:10:55 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-03-30 20:10:55 -0400
commit551153bb00c8a3a448db4b3a059e8322108b772a (patch)
treed887afdd040f55f5c05a8af1defaed7b7fd3bf01 /build
parent75f3600ab1eae06463ae8f386c5ab71f3815142f (diff)
downloadSMAPI-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.targets4
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>