mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-17 15:02:34 +02:00
Don't nag linux x86 users to switch to net core
This commit is contained in:
parent
94b94041a8
commit
3e1cfe0033
@ -36,6 +36,12 @@ public override HealthCheck Check()
|
|||||||
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…
Reference in New Issue
Block a user