From d562ae7a1bcb2c2451fe80e2fee32815a5057663 Mon Sep 17 00:00:00 2001 From: Patrick Müssig Date: Sun, 1 Jan 2017 21:37:41 +0100 Subject: Let MSBuild find steam again. Also fixed MsBuild wont find Gogs on x86 computer --- build/smapi.targets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build') diff --git a/build/smapi.targets b/build/smapi.targets index 3a20f9b5..ba3f96dd 100644 --- a/build/smapi.targets +++ b/build/smapi.targets @@ -32,8 +32,8 @@ C:\Program Files (x86)\GalaxyClient\Games\Stardew Valley C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley - $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\GOG.com\Games\1453375253@PATH) - $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 413150@InstallLocation) + $([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))