summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2016-12-07 23:55:32 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2016-12-07 23:55:32 -0500
commit22a2e2e8539b3d78bbe396d4d1755b9a8fba9abc (patch)
treec9073337540407ab9e1029b871a3c32efb67f241 /src
parent7e76d90c5567fbc1d4ebeb8e3fc25095d4af4ce9 (diff)
downloadSMAPI-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.targets2
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'">