mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 13:10:13 -07:00
Don't nag linux x86 users to switch to net core
This commit is contained in:
parent
e912ef6a3e
commit
bb6cdfef43
1 changed files with 6 additions and 0 deletions
|
@ -33,6 +33,12 @@ namespace NzbDrone.Core.HealthCheck.Checks
|
||||||
return new HealthCheck(GetType());
|
return new HealthCheck(GetType());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Don't warn on linux x86 - we don't build x86 net core
|
||||||
|
if (OsInfo.IsLinux && RuntimeInformation.ProcessArchitecture == Architecture.X86)
|
||||||
|
{
|
||||||
|
return new HealthCheck(GetType());
|
||||||
|
}
|
||||||
|
|
||||||
// Check for BSD
|
// Check for BSD
|
||||||
var output = _processProvider.StartAndCapture("uname");
|
var output = _processProvider.StartAndCapture("uname");
|
||||||
if (output?.ExitCode == 0 && MonoUnames.Contains(output?.Lines.First().Content))
|
if (output?.ExitCode == 0 && MonoUnames.Contains(output?.Lines.First().Content))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue