summaryrefslogtreecommitdiff
path: root/src/crossplatform.targets
diff options
context:
space:
mode:
Diffstat (limited to 'src/crossplatform.targets')
-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'">