mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
3.2.30.13
This commit is contained in:
parent
c6bd66a9f9
commit
a46f81d572
@ -134,10 +134,17 @@ namespace MediaBrowser.ServerApplication
|
|||||||
|
|
||||||
private static bool IsServiceInstalled()
|
private static bool IsServiceInstalled()
|
||||||
{
|
{
|
||||||
var serviceName = BackgroundService.GetExistingServiceName();
|
try
|
||||||
var ctl = ServiceController.GetServices().FirstOrDefault(s => s.ServiceName == serviceName);
|
{
|
||||||
|
var serviceName = BackgroundService.GetExistingServiceName();
|
||||||
|
var ctl = ServiceController.GetServices().FirstOrDefault(s => s.ServiceName == serviceName);
|
||||||
|
|
||||||
return ctl != null;
|
return ctl != null;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
[assembly: AssemblyVersion("3.2.30.12")]
|
[assembly: AssemblyVersion("3.2.30.13")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user