summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/smapi.targets6
-rw-r--r--package.nuspec8
2 files changed, 7 insertions, 7 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
diff --git a/package.nuspec b/package.nuspec
index 8072ad38..bc26a37c 100644
--- a/package.nuspec
+++ b/package.nuspec
@@ -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" />