mirror of
https://github.com/Lidarr/Lidarr
synced 2026-01-06 15:43:52 +01:00
parent
8c2fa93509
commit
8711b1a935
1 changed files with 2 additions and 2 deletions
|
|
@ -37,8 +37,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 a new issue