use simplified registry syntax, update nuspec (#1)

This commit is contained in:
Jesse Plamondon-Willard 2016-12-31 11:34:35 -05:00
parent 0fe3275037
commit 9250a1683c
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -2,16 +2,16 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>Pathoschild.Stardew.ModBuildConfig</id>
<version>1.2</version>
<version>1.3</version>
<title>MSBuild config for Stardew Valley mods</title>
<authors>Pathoschild</authors>
<owners>Pathoschild</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://github.com/Pathoschild/Stardew.ModBuildConfig/blob/1.2/LICENSE.txt</licenseUrl>
<licenseUrl>https://github.com/Pathoschild/Stardew.ModBuildConfig/blob/1.3/LICENSE.txt</licenseUrl>
<projectUrl>https://github.com/Pathoschild/Stardew.ModBuildConfig</projectUrl>
<iconUrl>https://raw.githubusercontent.com/Pathoschild/Stardew.ModBuildConfig/1.2/assets/nuget-icon.png</iconUrl>
<iconUrl>https://raw.githubusercontent.com/Pathoschild/Stardew.ModBuildConfig/1.3/assets/nuget-icon.png</iconUrl>
<description>Automates the build configuration for a crossplatform Stardew Valley mod that uses SMAPI.</description>
<releaseNotes>No longer copies game binaries to build output.</releaseNotes>
<releaseNotes>Detect custom game install paths on Windows by checking the registry.</releaseNotes>
</metadata>
<files>
<file src="build/smapi.targets" target="build/Pathoschild.Stardew.ModBuildConfig.targets" />