From a46f81d5726204085e4d0a4b883d7bdd69de9b94 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 9 Sep 2017 21:02:01 -0400 Subject: [PATCH] 3.2.30.13 --- MediaBrowser.ServerApplication/MainStartup.cs | 13 ++++++++++--- SharedVersion.cs | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/MediaBrowser.ServerApplication/MainStartup.cs b/MediaBrowser.ServerApplication/MainStartup.cs index 27eb3e0e17..d17d9ee435 100644 --- a/MediaBrowser.ServerApplication/MainStartup.cs +++ b/MediaBrowser.ServerApplication/MainStartup.cs @@ -134,10 +134,17 @@ namespace MediaBrowser.ServerApplication private static bool IsServiceInstalled() { - var serviceName = BackgroundService.GetExistingServiceName(); - var ctl = ServiceController.GetServices().FirstOrDefault(s => s.ServiceName == serviceName); + try + { + var serviceName = BackgroundService.GetExistingServiceName(); + var ctl = ServiceController.GetServices().FirstOrDefault(s => s.ServiceName == serviceName); - return ctl != null; + return ctl != null; + } + catch + { + return false; + } } /// diff --git a/SharedVersion.cs b/SharedVersion.cs index 6d2d4b25cf..3001bbf311 100644 --- a/SharedVersion.cs +++ b/SharedVersion.cs @@ -1,3 +1,3 @@ using System.Reflection; -[assembly: AssemblyVersion("3.2.30.12")] +[assembly: AssemblyVersion("3.2.30.13")]