mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Removed InstallUpdate, instead manually triggering ApplicationUpdate.
This commit is contained in:
@@ -31,19 +31,7 @@ namespace NzbDrone.Core.Update
|
||||
|
||||
public UpdatePackage AvailableUpdate()
|
||||
{
|
||||
var latestAvailable = _updatePackageProvider.GetLatestUpdate(_configFileProvider.Branch, BuildInfo.Version);
|
||||
|
||||
if (OsInfo.IsNotWindows && !_configFileProvider.UpdateAutomatically)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
if (latestAvailable == null)
|
||||
{
|
||||
_logger.ProgressDebug("No update available.");
|
||||
}
|
||||
|
||||
return latestAvailable;
|
||||
return _updatePackageProvider.GetLatestUpdate(_configFileProvider.Branch, BuildInfo.Version);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user