summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-03-30 20:12:44 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-03-30 20:12:44 -0400
commitc48f6d78cc412c5f2e40a8b460b7b3c1c993c51a (patch)
tree5214374bfeac75000bf1f3b051d8217422f2fe67 /build
parent75f3600ab1eae06463ae8f386c5ab71f3815142f (diff)
parent58dde207afe2d99a5f4c047334a79acdd312ec58 (diff)
downloadSMAPI-c48f6d78cc412c5f2e40a8b460b7b3c1c993c51a.tar.gz
SMAPI-c48f6d78cc412c5f2e40a8b460b7b3c1c993c51a.tar.bz2
SMAPI-c48f6d78cc412c5f2e40a8b460b7b3c1c993c51a.zip
Merge branch 'develop' into stable
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>