1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-26 01:27:00 +00:00

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 @@ public void GetUpdateClientFolder()
[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]

View file

@ -122,7 +122,7 @@ public static string GetUpdateClientFolder(this EnviromentProvider enviromentPro
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)