1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-18 21:35:27 -04:00

New: Replaced launcher on OSX Catalina so that individual permissions can be assigned (note, will ignore permissions previously assigned to sh)

This commit is contained in:
Taloth Saldono
2020-05-07 11:59:03 +02:00
parent f846e0c031
commit 396caa52cf
30 changed files with 1510 additions and 29 deletions
@@ -359,6 +359,10 @@ namespace NzbDrone.Common.Processes
{
return ("mono", $"--debug {path} {args}");
}
if (OsInfo.IsOsx && path.EndsWith(".app", StringComparison.InvariantCultureIgnoreCase))
{
return ("/usr/bin/open", $"--new {path} --args {args}");
}
if (OsInfo.IsWindows && path.EndsWith(".bat", StringComparison.InvariantCultureIgnoreCase))
{