mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
Rename More Sonarr References
This commit is contained in:
parent
f69559e4da
commit
5003cd8a14
31 changed files with 108 additions and 113 deletions
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
|
@ -8,7 +8,7 @@ namespace ServiceInstall
|
|||
{
|
||||
public static class ServiceHelper
|
||||
{
|
||||
private static string NzbDroneExe => Path.Combine(new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName, "Lidarr.Console.exe");
|
||||
private static string LidarrExe => Path.Combine(new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName, "Lidarr.Console.exe");
|
||||
|
||||
private static bool IsAnAdministrator()
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ namespace ServiceInstall
|
|||
|
||||
public static void Run(string arg)
|
||||
{
|
||||
if (!File.Exists(NzbDroneExe))
|
||||
if (!File.Exists(LidarrExe))
|
||||
{
|
||||
Console.WriteLine("Unable to find Lidarr.Console.exe in the current directory.");
|
||||
return;
|
||||
|
@ -32,7 +32,7 @@ namespace ServiceInstall
|
|||
|
||||
var startInfo = new ProcessStartInfo
|
||||
{
|
||||
FileName = NzbDroneExe,
|
||||
FileName = LidarrExe,
|
||||
Arguments = arg,
|
||||
UseShellExecute = false,
|
||||
RedirectStandardOutput = true,
|
||||
|
@ -59,4 +59,4 @@ namespace ServiceInstall
|
|||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
|
@ -8,7 +8,7 @@ namespace ServiceUninstall
|
|||
{
|
||||
public static class ServiceHelper
|
||||
{
|
||||
private static string NzbDroneExe => Path.Combine(new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName, "Lidarr.Console.exe");
|
||||
private static string LidarrExe => Path.Combine(new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName, "Lidarr.Console.exe");
|
||||
|
||||
private static bool IsAnAdministrator()
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ namespace ServiceUninstall
|
|||
|
||||
public static void Run(string arg)
|
||||
{
|
||||
if (!File.Exists(NzbDroneExe))
|
||||
if (!File.Exists(LidarrExe))
|
||||
{
|
||||
Console.WriteLine("Unable to find Lidarr.exe in the current directory.");
|
||||
return;
|
||||
|
@ -32,7 +32,7 @@ namespace ServiceUninstall
|
|||
|
||||
var startInfo = new ProcessStartInfo
|
||||
{
|
||||
FileName = NzbDroneExe,
|
||||
FileName = LidarrExe,
|
||||
Arguments = arg,
|
||||
UseShellExecute = false,
|
||||
RedirectStandardOutput = true,
|
||||
|
@ -59,4 +59,4 @@ namespace ServiceUninstall
|
|||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue