GetUpdateClientExePath will now use the updater in nzbdrone_update.

pull/7/merge
Mark McDowall 13 years ago
parent b849d45e9c
commit 03fb405c2e

@ -101,7 +101,7 @@ namespace NzbDrone.Common.Test
[Test] [Test]
public void GetUpdateClientExePath() 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] [Test]

@ -122,7 +122,7 @@ namespace NzbDrone.Common
public static string GetUpdateClientExePath(this EnviromentProvider enviromentProvider) 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) public static string GetSandboxLogFolder(this EnviromentProvider enviromentProvider)

Loading…
Cancel
Save