Ver Fonte

resolve tray icon not opening links on osx

Luke Pulverenti há 9 anos atrás
pai
commit
d26a5086c1
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      Emby.Server.Core/ApplicationHost.cs

+ 2 - 1
Emby.Server.Core/ApplicationHost.cs

@@ -1583,7 +1583,8 @@ namespace Emby.Server.Core
 
         public void LaunchUrl(string url)
         {
-            if (EnvironmentInfo.OperatingSystem != MediaBrowser.Model.System.OperatingSystem.Windows)
+            if (EnvironmentInfo.OperatingSystem != MediaBrowser.Model.System.OperatingSystem.Windows &&
+                EnvironmentInfo.OperatingSystem != MediaBrowser.Model.System.OperatingSystem.OSX)
             {
                 throw new NotImplementedException();
             }