summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2016-12-31 11:34:35 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2016-12-31 11:34:35 -0500
commit9250a1683c5c9d37983ff744cc3135d1634575ca (patch)
tree16ade6dbd9155cd5a49061835fe4d5ff963f0deb /build
parent0fe3275037b03fefb4e4c09a30097a85a12a3c03 (diff)
downloadSMAPI-9250a1683c5c9d37983ff744cc3135d1634575ca.tar.gz
SMAPI-9250a1683c5c9d37983ff744cc3135d1634575ca.tar.bz2
SMAPI-9250a1683c5c9d37983ff744cc3135d1634575ca.zip
use simplified registry syntax, update nuspec (#1)
Diffstat (limited to 'build')
-rw-r--r--build/smapi.targets6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/smapi.targets b/build/smapi.targets
index 759bd104..3a20f9b5 100644
--- a/build/smapi.targets
+++ b/build/smapi.targets
@@ -31,10 +31,10 @@
<!-- Windows -->
<GamePath Condition="!Exists('$(GamePath)' )">C:\Program Files (x86)\GalaxyClient\Games\Stardew Valley</GamePath>
- <GamePath Condition="!Exists('$(GamePath)') AND '$(GamePlatform)' == 'Windows'">$([" >$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\GOG.com\Games\1453375253}', 'PATH', null,RegistryView.Registry64, RegistryView.Registry32))</GamePath>
<GamePath Condition="!Exists('$(GamePath)' )">C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley</GamePath>
- <GamePath Condition="!Exists('$(GamePath)') AND '$(GamePlatform)' == 'Windows'">$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 413150', 'InstallLocation', null,RegistryView.Registry64, RegistryView.Registry32))</GamePath>
- </PropertyGroup>
+ <GamePath Condition="!Exists('$(GamePath)') AND '$(GamePlatform)' == 'Windows'">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\GOG.com\Games\1453375253@PATH)</GamePath>
+ <GamePath Condition="!Exists('$(GamePath)') AND '$(GamePlatform)' == 'Windows'">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 413150@InstallLocation)</GamePath>
+ </PropertyGroup>
<!--######
## set up configuration