update mac project

pull/702/head
Luke 8 years ago
parent 5209ce9b2f
commit b6b735f0d1

@ -3,7 +3,8 @@ using System.Collections.Generic;
using System.Reflection; using System.Reflection;
using Emby.Server.Core; using Emby.Server.Core;
using Emby.Server.Core.Data; using Emby.Server.Core.Data;
using Emby.Server.Core.FFMpeg; using Emby.Server.Implementations;
using Emby.Server.Implementations.FFMpeg;
using MediaBrowser.Model.IO; using MediaBrowser.Model.IO;
using MediaBrowser.Model.Logging; using MediaBrowser.Model.Logging;
using MediaBrowser.Model.System; using MediaBrowser.Model.System;

@ -20,6 +20,7 @@ using MonoMac.AppKit;
using MonoMac.Foundation; using MonoMac.Foundation;
using MonoMac.ObjCRuntime; using MonoMac.ObjCRuntime;
using Emby.Server.Core; using Emby.Server.Core;
using Emby.Server.Implementations;
using Emby.Common.Implementations.Logging; using Emby.Common.Implementations.Logging;
using Emby.Common.Implementations.EnvironmentInfo; using Emby.Common.Implementations.EnvironmentInfo;
using Emby.Server.Mac.Native; using Emby.Server.Mac.Native;
@ -43,7 +44,7 @@ namespace MediaBrowser.Server.Mac
var applicationPath = Assembly.GetEntryAssembly().Location; var applicationPath = Assembly.GetEntryAssembly().Location;
var options = new StartupOptions(); var options = new StartupOptions(Environment.GetCommandLineArgs());
// Allow this to be specified on the command line. // Allow this to be specified on the command line.
var customProgramDataPath = options.GetOption("-programdata"); var customProgramDataPath = options.GetOption("-programdata");

@ -4,7 +4,7 @@ using MediaBrowser.Model.Logging;
using System; using System;
using MonoMac.Foundation; using MonoMac.Foundation;
using MonoMac.AppKit; using MonoMac.AppKit;
using Emby.Server.Core.Browser; using Emby.Server.Implementations.Browser;
namespace MediaBrowser.Server.Mac namespace MediaBrowser.Server.Mac
{ {

@ -6,7 +6,7 @@ namespace Emby.Server.Mac.Native
{ {
public class MonoFileSystem : ManagedFileSystem public class MonoFileSystem : ManagedFileSystem
{ {
public MonoFileSystem(ILogger logger, bool supportsAsyncFileStreams, bool enableManagedInvalidFileNameChars) : base(logger, supportsAsyncFileStreams, enableManagedInvalidFileNameChars, false) public MonoFileSystem(ILogger logger, bool supportsAsyncFileStreams, bool enableManagedInvalidFileNameChars) : base(logger, supportsAsyncFileStreams, enableManagedInvalidFileNameChars, true)
{ {
} }

Loading…
Cancel
Save