mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-05 16:25:05 +00:00
Fixed: OSX version detection
ref sonarr/4113 (not a fix, just partially) (cherry picked from commit 026af222297d1d90d824e077e989ffd146bb5016)
This commit is contained in:
@@ -37,8 +37,8 @@ namespace NzbDrone.Mono.EnvironmentInfo.VersionAdapters
|
||||
var allFiles = _diskProvider.GetFiles(PLIST_DIR, SearchOption.TopDirectoryOnly);
|
||||
|
||||
var versionFile = allFiles.SingleOrDefault(c =>
|
||||
c.EndsWith("SystemVersion.plist") ||
|
||||
c.EndsWith("ServerVersion.plist"));
|
||||
c.EndsWith("/SystemVersion.plist") ||
|
||||
c.EndsWith("/ServerVersion.plist"));
|
||||
|
||||
if (string.IsNullOrWhiteSpace(versionFile))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user