mirror of https://github.com/jellyfin/jellyfin.git
update service name
This commit is contained in:
parent
8b9e92916e
commit
316623cb5c
|
@ -14,18 +14,6 @@ namespace MediaBrowser.ServerApplication
|
||||||
|
|
||||||
public static string GetExistingServiceName()
|
public static string GetExistingServiceName()
|
||||||
{
|
{
|
||||||
try
|
|
||||||
{
|
|
||||||
if (ServiceController.GetServices().Any(s => s.ServiceName == "MediaBrowser"))
|
|
||||||
{
|
|
||||||
return "MediaBrowser";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
catch
|
|
||||||
{
|
|
||||||
return "MediaBrowser";
|
|
||||||
}
|
|
||||||
|
|
||||||
return Name;
|
return Name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue