mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Fixed update client path issue
This commit is contained in:
parent
6369d4f817
commit
fbf7d20c5d
6 changed files with 17 additions and 15 deletions
|
@ -78,7 +78,7 @@ namespace NzbDrone.Core.Providers
|
|||
return null;
|
||||
}
|
||||
|
||||
public virtual void StartUpgrade(UpdatePackage updatePackage)
|
||||
public virtual void StartUpdate(UpdatePackage updatePackage)
|
||||
{
|
||||
var packageDestination = Path.Combine(_enviromentProvider.GetUpdateSandboxFolder(), updatePackage.FileName);
|
||||
|
||||
|
@ -104,7 +104,7 @@ namespace NzbDrone.Core.Providers
|
|||
var startInfo = new ProcessStartInfo()
|
||||
{
|
||||
FileName = _enviromentProvider.GetUpdateClientExePath(),
|
||||
Arguments = string.Format("/{0} /{1}", _enviromentProvider.NzbDroneProcessIdFromEnviroment, _configFileProvider.Guid)
|
||||
Arguments = string.Format("{0} {1}", _enviromentProvider.NzbDroneProcessIdFromEnviroment, _configFileProvider.Guid)
|
||||
};
|
||||
|
||||
_processProvider.Start(startInfo);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue