mirror of
https://github.com/Radarr/Radarr
synced 2025-12-27 10:45:44 +01:00
Don't nag linux x86 users to switch to net core
This commit is contained in:
parent
94b94041a8
commit
3e1cfe0033
1 changed files with 6 additions and 0 deletions
|
|
@ -36,6 +36,12 @@ public override HealthCheck Check()
|
|||
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
|
||||
var output = _processProvider.StartAndCapture("uname");
|
||||
if (output?.ExitCode == 0 && MonoUnames.Contains(output?.Lines.First().Content))
|
||||
|
|
|
|||
Loading…
Reference in a new issue