diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-01-10 17:13:58 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-01-10 17:13:58 -0500 |
commit | 93dcf1f1e18441a6eeb585d0d77888248370f429 (patch) | |
tree | df53d02e42e12da39cabcad680e35936d508f344 /build | |
parent | c99a0507b1b2023fb6ad7c37080b4393f078d94d (diff) | |
download | SMAPI-93dcf1f1e18441a6eeb585d0d77888248370f429.tar.gz SMAPI-93dcf1f1e18441a6eeb585d0d77888248370f429.tar.bz2 SMAPI-93dcf1f1e18441a6eeb585d0d77888248370f429.zip |
remove support custom target platform (never used)
Diffstat (limited to 'build')
-rw-r--r-- | build/smapi.targets | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/build/smapi.targets b/build/smapi.targets index 93588445..3c6717da 100644 --- a/build/smapi.targets +++ b/build/smapi.targets @@ -3,16 +3,9 @@ ## select target OS #######--> <PropertyGroup> - <!-- from override --> - <GamePlatform Condition="$(GamePlatform) != 'Linux' AND $(GamePlatform) != 'Mac' AND $(GamePlatform) != 'Windows'"></GamePlatform> - <GamePlatform Condition="$(DefineConstants.Contains('GAME_PLATFORM_LINUX'))">Linux</GamePlatform> - <GamePlatform Condition="$(DefineConstants.Contains('GAME_PLATFORM_MAC'))">Mac</GamePlatform> - <GamePlatform Condition="$(DefineConstants.Contains('GAME_PLATFORM_WINDOWS'))">Windows</GamePlatform> - - <!-- from OS --> - <GamePlatform Condition="$(GamePlatform) == '' AND $(OS) == 'Unix'">Linux</GamePlatform> - <GamePlatform Condition="$(GamePlatform) == '' AND $(OS) == 'OSX'">Mac</GamePlatform> - <GamePlatform Condition="$(GamePlatform) == '' AND $(OS) == 'Windows_NT'">Windows</GamePlatform> + <GamePlatform Condition="$(OS) == 'Unix'">Linux</GamePlatform> + <GamePlatform Condition="$(OS) == 'OSX'">Mac</GamePlatform> + <GamePlatform Condition="$(OS) == 'Windows_NT'">Windows</GamePlatform> </PropertyGroup> <!--###### @@ -27,8 +20,8 @@ <GamePath Condition="!Exists('$(GamePath)')">$(HOME)/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS</GamePath> <!-- Windows --> - <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)')">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 '$(GamePlatform)' == 'Windows'">$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\GOG.com\Games\1453375253', 'PATH', null, RegistryView.Registry32))</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> |