GetUpdateClientExePath will now use the updater in nzbdrone_update.

This commit is contained in:
Mark McDowall 2011-11-21 20:02:14 -08:00
parent b849d45e9c
commit 03fb405c2e
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ namespace NzbDrone.Common.Test
[Test]
public void GetUpdateClientExePath()
{
GetEnviromentProvider().GetUpdateClientExePath().Should().BeEquivalentTo(@"C:\Temp\Nzbdrone_update\NzbDrone\NzbDrone.Update\NzbDrone.Update.exe");
GetEnviromentProvider().GetUpdateClientExePath().Should().BeEquivalentTo(@"C:\Temp\Nzbdrone_update\NzbDrone.Update.exe");
}
[Test]

View File

@ -122,7 +122,7 @@ namespace NzbDrone.Common
public static string GetUpdateClientExePath(this EnviromentProvider enviromentProvider)
{
return Path.Combine(enviromentProvider.GetUpdateClientFolder(), UPDATE_CLIENT_EXE);
return Path.Combine(enviromentProvider.GetUpdateSandboxFolder(), UPDATE_CLIENT_EXE);
}
public static string GetSandboxLogFolder(this EnviromentProvider enviromentProvider)