diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-04-25 11:39:35 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-04-25 11:39:35 -0400 |
commit | 151789caa98025632048a1a2d7feb3b64c70829e (patch) | |
tree | a7048a13ba1264fdf3e5b9159ae7b56d40b194b0 /build | |
parent | 8ce0862c123f85c22d969187cd7b5c560d9f41e7 (diff) | |
download | SMAPI-151789caa98025632048a1a2d7feb3b64c70829e.tar.gz SMAPI-151789caa98025632048a1a2d7feb3b64c70829e.tar.bz2 SMAPI-151789caa98025632048a1a2d7feb3b64c70829e.zip |
add default GOG install path
Diffstat (limited to 'build')
-rw-r--r-- | build/common.targets | 1 |
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> |