mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-12 04:22:35 +02:00
parent
2b7a383886
commit
970848acc3
@ -36,8 +36,8 @@ public OsVersionModel Read()
|
||||
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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user