mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
add mac method
This commit is contained in:
parent
fb48dd3487
commit
6315f9b863
@ -166,6 +166,16 @@ namespace MediaBrowser.Server.Mac
|
||||
MenuBarIcon.Instance.Terminate();
|
||||
}
|
||||
|
||||
private static string NormalizeCommandLineArgument(string arg)
|
||||
{
|
||||
if (arg.IndexOf(" ", StringComparison.OrdinalIgnoreCase) == -1)
|
||||
{
|
||||
return arg;
|
||||
}
|
||||
|
||||
return "\"" + arg + "\"";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Handles the UnhandledException event of the CurrentDomain control.
|
||||
/// </summary>
|
||||
|
Loading…
x
Reference in New Issue
Block a user