mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
cleaned up parsing logic and structure.
This commit is contained in:
@@ -49,7 +49,7 @@ namespace NzbDrone.Core.Lifecycle
|
||||
{
|
||||
notification.CurrentMessage = "Checking for updates";
|
||||
|
||||
var updatePackage = _updateService.GetAvailableUpdate(_environmentProvider.Version);
|
||||
var updatePackage = _updateService.GetAvailableUpdate();
|
||||
|
||||
//No updates available
|
||||
if (updatePackage == null)
|
||||
@@ -88,7 +88,7 @@ namespace NzbDrone.Core.Lifecycle
|
||||
var process = _processProvider.Start(startInfo);
|
||||
notification.CurrentMessage = "Update in progress. NzbDrone will restart shortly.";
|
||||
|
||||
_processProvider.WaitForExit(process);
|
||||
_processProvider.WaitForExit(process);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user