summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-07-09 23:33:08 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-07-09 23:33:08 -0400
commit9beefb65fa0213603c3aa52875d88c0b410dbfd6 (patch)
tree51ac41488d6a3041351727870a128347afddbc9a /build
parent4ca843ee90ed996be60da2b73c4c010335a07171 (diff)
downloadSMAPI-9beefb65fa0213603c3aa52875d88c0b410dbfd6.tar.gz
SMAPI-9beefb65fa0213603c3aa52875d88c0b410dbfd6.tar.bz2
SMAPI-9beefb65fa0213603c3aa52875d88c0b410dbfd6.zip
clear GamePlatform if unknown
Diffstat (limited to 'build')
-rw-r--r--build/smapi.targets5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/smapi.targets b/build/smapi.targets
index e2af5d90..b2ce5967 100644
--- a/build/smapi.targets
+++ b/build/smapi.targets
@@ -32,6 +32,11 @@
<GamePath Condition="!Exists('$(GamePath)')">$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 413150', 'InstallLocation', null, RegistryView.Registry64, RegistryView.Registry32))</GamePath>
</PropertyGroup>
</When>
+ <Otherwise>
+ <PropertyGroup>
+ <GamePlatform></GamePlatform>
+ </PropertyGroup>
+ </Otherwise>
</Choose>
<!--######