summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-04-25 11:39:35 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-04-25 11:39:35 -0400
commit151789caa98025632048a1a2d7feb3b64c70829e (patch)
treea7048a13ba1264fdf3e5b9159ae7b56d40b194b0 /build
parent8ce0862c123f85c22d969187cd7b5c560d9f41e7 (diff)
downloadSMAPI-151789caa98025632048a1a2d7feb3b64c70829e.tar.gz
SMAPI-151789caa98025632048a1a2d7feb3b64c70829e.tar.bz2
SMAPI-151789caa98025632048a1a2d7feb3b64c70829e.zip
add default GOG install path
Diffstat (limited to 'build')
-rw-r--r--build/common.targets1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/common.targets b/build/common.targets
index 95885299..588eea1b 100644
--- a/build/common.targets
+++ b/build/common.targets
@@ -14,6 +14,7 @@
<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>
+ <GamePath Condition="!Exists('$(GamePath)')">C:\Program Files (x86)\GOG Galaxy\Games\Stardew Valley</GamePath>
<GamePath Condition="!Exists('$(GamePath)')">C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley</GamePath>
<GamePath Condition="!Exists('$(GamePath)') AND '$(OS)' == 'Windows_NT'">$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\GOG.com\Games\1453375253', 'PATH', null, RegistryView.Registry32))</GamePath>
<GamePath Condition="!Exists('$(GamePath)') AND '$(OS)' == 'Windows_NT'">$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 413150', 'InstallLocation', null, RegistryView.Registry64, RegistryView.Registry32))</GamePath>