mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-22 22:10:35 +00:00
reject all updates if in linux.
This commit is contained in:
parent
7d6e14d342
commit
d5e5d6de29
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,6 @@ public interface ICheckUpdateService
|
|||
UpdatePackage AvailableUpdate();
|
||||
}
|
||||
|
||||
|
||||
public class CheckUpdateService : ICheckUpdateService
|
||||
{
|
||||
private readonly IUpdatePackageProvider _updatePackageProvider;
|
||||
|
@ -28,6 +27,8 @@ public CheckUpdateService(IUpdatePackageProvider updatePackageProvider, IConfigF
|
|||
|
||||
public UpdatePackage AvailableUpdate()
|
||||
{
|
||||
if (OsInfo.IsLinux) return null;
|
||||
|
||||
var latestAvailable = _updatePackageProvider.GetLatestUpdate(_configFileProvider.Branch, BuildInfo.Version);
|
||||
|
||||
if (latestAvailable == null)
|
||||
|
|
Loading…
Reference in a new issue