This commit is contained in:
Luke Pulverenti
2017-11-21 17:14:56 -05:00
parent 46be272ec8
commit 77695f8abe
16 changed files with 75 additions and 75 deletions

View File

@@ -2317,12 +2317,17 @@ namespace Emby.Server.Implementations
}
}
public void LaunchUrl(string url)
public virtual void LaunchUrl(string url)
{
if (EnvironmentInfo.OperatingSystem != MediaBrowser.Model.System.OperatingSystem.Windows &&
EnvironmentInfo.OperatingSystem != MediaBrowser.Model.System.OperatingSystem.OSX)
{
throw new NotImplementedException();
throw new NotSupportedException();
}
if (!Environment.UserInteractive)
{
throw new NotSupportedException();
}
var process = ProcessFactory.Create(new ProcessOptions