New: Lidarr to Readarr

This commit is contained in:
Qstick
2020-02-29 15:51:29 -05:00
parent 7359c2a9fa
commit 3b7eb01918
565 changed files with 1669 additions and 4272 deletions

View File

@@ -8,7 +8,7 @@ namespace ServiceInstall
{
public static class ServiceHelper
{
private static string LidarrExe => Path.Combine(new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName, "Lidarr.Console.exe");
private static string ReadarrExe => Path.Combine(new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName, "Readarr.Console.exe");
private static bool IsAnAdministrator()
{
@@ -18,9 +18,9 @@ namespace ServiceInstall
public static void Run(string arg)
{
if (!File.Exists(LidarrExe))
if (!File.Exists(ReadarrExe))
{
Console.WriteLine("Unable to find Lidarr.Console.exe in the current directory.");
Console.WriteLine("Unable to find Readarr.Console.exe in the current directory.");
return;
}
@@ -32,7 +32,7 @@ namespace ServiceInstall
var startInfo = new ProcessStartInfo
{
FileName = LidarrExe,
FileName = ReadarrExe,
Arguments = arg,
UseShellExecute = false,
RedirectStandardOutput = true,