aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-05-23 18:08:50 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-05-23 18:08:50 -0400
commit6315f9b863c7a119eeb2cf1828ab92d23e579a27 (patch)
treeabf71e81283f00b7b4e45f39b5695069a0c3dd59
parentfb48dd34870d5ef8d1d636d83af5132e26b99449 (diff)
add mac method
-rw-r--r--MediaBrowser.Server.Mac/Main.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Mac/Main.cs b/MediaBrowser.Server.Mac/Main.cs
index cffa62fae..1dc975841 100644
--- a/MediaBrowser.Server.Mac/Main.cs
+++ b/MediaBrowser.Server.Mac/Main.cs
@@ -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>