summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-01-22 22:31:00 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-01-22 22:31:00 -0500
commit08e9cd1263bd985259accab8a76655b533427097 (patch)
tree56992d2a772b15e7c5f1f5a6b810a80499380a23 /src
parente9cb691251668af87f25549fdedaf382e820075f (diff)
downloadSMAPI-08e9cd1263bd985259accab8a76655b533427097.tar.gz
SMAPI-08e9cd1263bd985259accab8a76655b533427097.tar.bz2
SMAPI-08e9cd1263bd985259accab8a76655b533427097.zip
Add GOG Mac path
Thanks to LeonBlade for the path.
Diffstat (limited to 'src')
-rw-r--r--src/StardewModdingAPI.Installer/InteractiveInstaller.cs1
-rw-r--r--src/crossplatform.targets1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/StardewModdingAPI.Installer/InteractiveInstaller.cs b/src/StardewModdingAPI.Installer/InteractiveInstaller.cs
index ef813eb3..c024b128 100644
--- a/src/StardewModdingAPI.Installer/InteractiveInstaller.cs
+++ b/src/StardewModdingAPI.Installer/InteractiveInstaller.cs
@@ -27,6 +27,7 @@ namespace StardewModdingApi.Installer
yield return $"{Environment.GetEnvironmentVariable("HOME")}/.local/share/Steam/steamapps/common/Stardew Valley";
// Mac
+ yield return $"/Applications/Stardew Valley.app/Contents/MacOS";
yield return $"{Environment.GetEnvironmentVariable("HOME")}/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS";
// Windows
diff --git a/src/crossplatform.targets b/src/crossplatform.targets
index ef2d341f..f28e005e 100644
--- a/src/crossplatform.targets
+++ b/src/crossplatform.targets
@@ -4,6 +4,7 @@
<GamePath Condition="!Exists('$(GamePath)')">$(HOME)/GOG Games/Stardew Valley/game</GamePath>
<GamePath Condition="!Exists('$(GamePath)')">$(HOME)/.local/share/Steam/steamapps/common/Stardew Valley</GamePath>
<!-- Mac paths -->
+ <GamePath Condition="!Exists('$(GamePath)')">/Applications/Stardew Valley.app/Contents/MacOS</GamePath>
<GamePath Condition="!Exists('$(GamePath)')">$(HOME)/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS</GamePath>
<!-- Windows paths -->
<GamePath Condition="!Exists('$(GamePath)')">C:\Program Files (x86)\GalaxyClient\Games\Stardew Valley</GamePath>