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:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user