1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Fixed: Remove Plist Fix to prevent Linux Core update failures

This commit is contained in:
Qstick 2019-10-21 19:34:26 -04:00 committed by GitHub
parent 3c380954ec
commit dd00c9b53e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,13 +120,6 @@ public void Start(string installationFolder, int processId)
if (OsInfo.IsOsx || (OsInfo.IsLinux && PlatformInfo.IsNetCore)) if (OsInfo.IsOsx || (OsInfo.IsLinux && PlatformInfo.IsNetCore))
{ {
_diskProvider.SetPermissions(Path.Combine(installationFolder, "Radarr"), "0755", null, null); _diskProvider.SetPermissions(Path.Combine(installationFolder, "Radarr"), "0755", null, null);
var plistPath = Path.Combine(installationFolder, "..", "Info.plist");
var plistContents = File.ReadAllText(plistPath);
if (plistContents.Contains("Sonarr"))
{
plistContents.Replace("Sonarr", "Radarr");
File.WriteAllText(plistPath, plistContents);
}
} }
} }
catch (Exception e) catch (Exception e)