From ceaf0e2098ecd9aa9ca892142ef1b7d2ed9c26ba Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 14 Nov 2016 00:50:58 -0500 Subject: [PATCH] update mac project --- MediaBrowser.Server.Mac/Main.cs | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/MediaBrowser.Server.Mac/Main.cs b/MediaBrowser.Server.Mac/Main.cs index b8e000c507..9e74476837 100644 --- a/MediaBrowser.Server.Mac/Main.cs +++ b/MediaBrowser.Server.Mac/Main.cs @@ -136,9 +136,9 @@ namespace MediaBrowser.Server.Mac CertificateGenerator.CreateSelfSignCertificatePfx(certPath, certHost, _logger); } - private static MonoEnvironmentInfo GetEnvironmentInfo() + private static EnvironmentInfo GetEnvironmentInfo() { - var info = new MonoEnvironmentInfo(); + var info = new EnvironmentInfo(); var uname = GetUnixName(); @@ -155,7 +155,7 @@ namespace MediaBrowser.Server.Mac else if (string.Equals(sysName, "BSD", StringComparison.OrdinalIgnoreCase)) { //info.OperatingSystem = Startup.Common.OperatingSystem.Bsd; - info.IsBsd = true; + //info.IsBsd = true; } var archX86 = new Regex("(i|I)[3-6]86"); @@ -303,15 +303,5 @@ namespace MediaBrowser.Server.Mac return true; } } - - public class MonoEnvironmentInfo : EnvironmentInfo - { - public bool IsBsd { get; set; } - - public virtual string GetUserId() - { - return Syscall.getuid().ToString(CultureInfo.InvariantCulture); - } - } }