summaryrefslogtreecommitdiff
path: root/build/smapi.targets
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2016-10-19 20:43:35 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2016-10-19 20:43:35 -0400
commit465bd538e476766f1114f915f955e30c9abab944 (patch)
tree7212af776b6f9574373a454ed6db3f30cbe8a08f /build/smapi.targets
parente5d38b73720c58b00ea747b66be18f8b735d2e6e (diff)
downloadSMAPI-465bd538e476766f1114f915f955e30c9abab944.tar.gz
SMAPI-465bd538e476766f1114f915f955e30c9abab944.tar.bz2
SMAPI-465bd538e476766f1114f915f955e30c9abab944.zip
add more install paths
Diffstat (limited to 'build/smapi.targets')
-rw-r--r--build/smapi.targets13
1 files changed, 11 insertions, 2 deletions
diff --git a/build/smapi.targets b/build/smapi.targets
index f38f1585..7d512a29 100644
--- a/build/smapi.targets
+++ b/build/smapi.targets
@@ -1,9 +1,18 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- find game install path -->
<PropertyGroup>
- <GamePath>C:\Program Files (x86)\GalaxyClient\Games\Stardew Valley</GamePath>
+ <!-- injected by Silverplum -->
+ <GamePath Condition="!Exists('$(GamePath)')">$(STARDEWVALLEY_DIR)</GamePath>
+
+ <!-- Linux -->
+ <GamePath Condition="!Exists('$(GamePath)')">~/.local/share/Steam/steamapps/common/Stardew Valley</GamePath>
+
+ <!-- Mac -->
+ <GamePath Condition="!Exists('$(GamePath)')">~/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS</GamePath>
+
+ <!-- Windows -->
+ <GamePath Condition="!Exists('$(GamePath)')">C:\Program Files (x86)\GalaxyClient\Games\Stardew Valley</GamePath>
<GamePath Condition="!Exists('$(GamePath)')">C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley</GamePath>
- <GamePath Condition="!Exists('$(GamePath)')">~\Library\Application Support\Steam\steamapps\common\Stardew Valley\Contents\MacOS</GamePath>
</PropertyGroup>
<!-- set up configuration -->