mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-02 08:23:04 +00:00
update service name
This commit is contained in:
@@ -14,18 +14,6 @@ namespace MediaBrowser.ServerApplication
|
||||
|
||||
public static string GetExistingServiceName()
|
||||
{
|
||||
try
|
||||
{
|
||||
if (ServiceController.GetServices().Any(s => s.ServiceName == "MediaBrowser"))
|
||||
{
|
||||
return "MediaBrowser";
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
return "MediaBrowser";
|
||||
}
|
||||
|
||||
return Name;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user