diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-01-22 22:31:00 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-01-22 22:31:00 -0500 |
commit | 08e9cd1263bd985259accab8a76655b533427097 (patch) | |
tree | 56992d2a772b15e7c5f1f5a6b810a80499380a23 /src | |
parent | e9cb691251668af87f25549fdedaf382e820075f (diff) | |
download | SMAPI-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.cs | 1 | ||||
-rw-r--r-- | src/crossplatform.targets | 1 |
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> |