diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-12-07 23:55:32 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-12-07 23:55:32 -0500 |
commit | 22a2e2e8539b3d78bbe396d4d1755b9a8fba9abc (patch) | |
tree | c9073337540407ab9e1029b871a3c32efb67f241 /src | |
parent | 7e76d90c5567fbc1d4ebeb8e3fc25095d4af4ce9 (diff) | |
download | SMAPI-22a2e2e8539b3d78bbe396d4d1755b9a8fba9abc.tar.gz SMAPI-22a2e2e8539b3d78bbe396d4d1755b9a8fba9abc.tar.bz2 SMAPI-22a2e2e8539b3d78bbe396d4d1755b9a8fba9abc.zip |
add registry paths to build configuration (#189)
Diffstat (limited to 'src')
-rw-r--r-- | src/crossplatform.targets | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crossplatform.targets b/src/crossplatform.targets index d5428967..0eb1c776 100644 --- a/src/crossplatform.targets +++ b/src/crossplatform.targets @@ -8,6 +8,8 @@ <!-- Windows paths --> <GamePath Condition="!Exists('$(GamePath)')">C:\Program Files (x86)\GalaxyClient\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'">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 413150@InstallLocation)</GamePath> + <GamePath Condition="!Exists('$(GamePath)') AND $(OS) == 'Windows_NT'">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\GOG.com\Games\1453375253@PATH)</GamePath> </PropertyGroup> <Choose> <When Condition="$(OS) == 'Windows_NT'"> |