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 /src/SMAPI.ModBuildConfig/build/smapi.targets | |
parent | 8ce0862c123f85c22d969187cd7b5c560d9f41e7 (diff) | |
download | SMAPI-151789caa98025632048a1a2d7feb3b64c70829e.tar.gz SMAPI-151789caa98025632048a1a2d7feb3b64c70829e.tar.bz2 SMAPI-151789caa98025632048a1a2d7feb3b64c70829e.zip |
add default GOG install path
Diffstat (limited to 'src/SMAPI.ModBuildConfig/build/smapi.targets')
-rw-r--r-- | src/SMAPI.ModBuildConfig/build/smapi.targets | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index 78afa7da..d33a9637 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -45,6 +45,7 @@ <When Condition="$(OS) == 'Windows_NT'"> <PropertyGroup> <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)')">$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\GOG.com\Games\1453375253', 'PATH', null, RegistryView.Registry32))</GamePath> <GamePath Condition="!Exists('$(GamePath)')">$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 413150', 'InstallLocation', null, RegistryView.Registry64, RegistryView.Registry32))</GamePath> |