diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-11-19 13:20:26 -0500 |
|---|---|---|
| committer | Luke <luke.pulverenti@gmail.com> | 2016-11-19 13:20:26 -0500 |
| commit | b6b735f0d1096e16ba2b7de8dd92c42bd09e6262 (patch) | |
| tree | 4749cf239984b12d90069f40c6e33addd6a56ddb /MediaBrowser.Server.Mac/Main.cs | |
| parent | 5209ce9b2f7d2c56bca2c65966a5e2e7cc982133 (diff) | |
update mac project
Diffstat (limited to 'MediaBrowser.Server.Mac/Main.cs')
| -rw-r--r-- | MediaBrowser.Server.Mac/Main.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Mac/Main.cs b/MediaBrowser.Server.Mac/Main.cs index fa9f8ae1f6..cda6f459a9 100644 --- a/MediaBrowser.Server.Mac/Main.cs +++ b/MediaBrowser.Server.Mac/Main.cs @@ -20,6 +20,7 @@ using MonoMac.AppKit; using MonoMac.Foundation; using MonoMac.ObjCRuntime; using Emby.Server.Core; +using Emby.Server.Implementations; using Emby.Common.Implementations.Logging; using Emby.Common.Implementations.EnvironmentInfo; using Emby.Server.Mac.Native; @@ -43,7 +44,7 @@ namespace MediaBrowser.Server.Mac var applicationPath = Assembly.GetEntryAssembly().Location; - var options = new StartupOptions(); + var options = new StartupOptions(Environment.GetCommandLineArgs()); // Allow this to be specified on the command line. var customProgramDataPath = options.GetOption("-programdata"); |
