From 6a707a3e2d83a7f39eace0212fe62b7300ca5ee7 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 10 Jul 2017 15:44:19 -0400 Subject: remove undocumented & unneeded GamePlatform variable --- build/smapi.targets | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/build/smapi.targets b/build/smapi.targets index b2ce5967..3a9c42c1 100644 --- a/build/smapi.targets +++ b/build/smapi.targets @@ -11,39 +11,31 @@ - Linux $(HOME)/GOG Games/Stardew Valley/game $(HOME)/.local/share/Steam/steamapps/common/Stardew Valley - Mac /Applications/Stardew Valley.app/Contents/MacOS $(HOME)/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS - Windows C:\Program Files (x86)\GalaxyClient\Games\Stardew Valley C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\GOG.com\Games\1453375253', 'PATH', null, RegistryView.Registry32)) $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 413150', 'InstallLocation', null, RegistryView.Registry64, RegistryView.Registry32)) - - - - - - + @@ -106,12 +98,12 @@ #######--> - + - - + + @@ -139,4 +131,4 @@ - \ No newline at end of file + -- cgit From 1fa12092c6130fbf8fb9c256f6c23e69c740a841 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 10 Jul 2017 15:45:22 -0400 Subject: combine Linux/Mac paths Mono may report Mac as either 'Unix' or 'OSX', and we don't really need to distinguish them for our purposes anyway. --- build/smapi.targets | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/build/smapi.targets b/build/smapi.targets index 3a9c42c1..a544067b 100644 --- a/build/smapi.targets +++ b/build/smapi.targets @@ -9,14 +9,13 @@ ## find platform + game path #######--> - + + $(HOME)/GOG Games/Stardew Valley/game $(HOME)/.local/share/Steam/steamapps/common/Stardew Valley - - - - + + /Applications/Stardew Valley.app/Contents/MacOS $(HOME)/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS -- cgit From 059c277623b1e1813094fe1a4ae80db432bce0ec Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 10 Jul 2017 15:46:20 -0400 Subject: update nuspec for release --- package.nuspec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.nuspec b/package.nuspec index 900e2a5b..f216803a 100644 --- a/package.nuspec +++ b/package.nuspec @@ -2,16 +2,16 @@ Pathoschild.Stardew.ModBuildConfig - 1.6.1 + 1.6.2 MSBuild config for Stardew Valley mods Pathoschild Pathoschild false - https://github.com/Pathoschild/Stardew.ModBuildConfig/blob/1.6.1/LICENSE.txt + https://github.com/Pathoschild/Stardew.ModBuildConfig/blob/1.6.2/LICENSE.txt https://github.com/Pathoschild/Stardew.ModBuildConfig#readme - https://raw.githubusercontent.com/Pathoschild/Stardew.ModBuildConfig/1.6.1/assets/nuget-icon.png + https://raw.githubusercontent.com/Pathoschild/Stardew.ModBuildConfig/1.6.2/assets/nuget-icon.png Automates the build configuration for crossplatform Stardew Valley SMAPI mods. - Improved OS and game path detection. + Improved OS and game path detection; removed undocumented GamePlatform variable. -- cgit