3.2.30.13

This commit is contained in:
Luke Pulverenti 2017-09-09 21:02:01 -04:00
parent c6bd66a9f9
commit a46f81d572
2 changed files with 11 additions and 4 deletions

View file

@ -133,12 +133,19 @@ namespace MediaBrowser.ServerApplication
} }
private static bool IsServiceInstalled() private static bool IsServiceInstalled()
{
try
{ {
var serviceName = BackgroundService.GetExistingServiceName(); var serviceName = BackgroundService.GetExistingServiceName();
var ctl = ServiceController.GetServices().FirstOrDefault(s => s.ServiceName == serviceName); var ctl = ServiceController.GetServices().FirstOrDefault(s => s.ServiceName == serviceName);
return ctl != null; return ctl != null;
} }
catch
{
return false;
}
}
/// <summary> /// <summary>
/// Determines whether [is already running] [the specified current process]. /// Determines whether [is already running] [the specified current process].

View file

@ -1,3 +1,3 @@
using System.Reflection; using System.Reflection;
[assembly: AssemblyVersion("3.2.30.12")] [assembly: AssemblyVersion("3.2.30.13")]