Renamed NzbDrone.exe to Radarr.exe.

This commit is contained in:
Leonardo Galli 2017-01-05 20:42:02 +01:00
commit 88dacc00f7
49 changed files with 70 additions and 69 deletions

View file

@ -4,7 +4,7 @@
DIR=$(cd "$(dirname "$0")"; pwd) DIR=$(cd "$(dirname "$0")"; pwd)
#change these values to match your app #change these values to match your app
EXE_PATH="$DIR/NzbDrone.exe" EXE_PATH="$DIR/Radarr.exe"
APPNAME="Sonarr" APPNAME="Sonarr"
#set up environment #set up environment

View file

@ -3,8 +3,9 @@ using Moq;
using NUnit.Framework; using NUnit.Framework;
using NzbDrone.Common.Model; using NzbDrone.Common.Model;
using NzbDrone.Common.Processes; using NzbDrone.Common.Processes;
using NzbDrone.Host; using Radarr.Host;
using NzbDrone.Test.Common; using NzbDrone.Test.Common;
using Radarr.Host;
namespace NzbDrone.App.Test namespace NzbDrone.App.Test
{ {

View file

@ -263,7 +263,7 @@ namespace NzbDrone.Common.Test
[Test] [Test]
public void GetUpdateClientExePath() public void GetUpdateClientExePath()
{ {
GetIAppDirectoryInfo().GetUpdateClientExePath().Should().BeEquivalentTo(@"C:\Temp\nzbdrone_update\NzbDrone.Update.exe".AsOsAgnostic()); GetIAppDirectoryInfo().GetUpdateClientExePath().Should().BeEquivalentTo(@"C:\Temp\nzbdrone_update\Radarr.Update.exe".AsOsAgnostic());
} }
[Test] [Test]

View file

@ -13,7 +13,7 @@ namespace NzbDrone.Common.Extensions
private const string NZBDRONE_DB = "nzbdrone.db"; private const string NZBDRONE_DB = "nzbdrone.db";
private const string NZBDRONE_LOG_DB = "logs.db"; private const string NZBDRONE_LOG_DB = "logs.db";
private const string NLOG_CONFIG_FILE = "nlog.config"; private const string NLOG_CONFIG_FILE = "nlog.config";
private const string UPDATE_CLIENT_EXE = "NzbDrone.Update.exe"; private const string UPDATE_CLIENT_EXE = "Radarr.Update.exe";
private const string BACKUP_FOLDER = "Backups"; private const string BACKUP_FOLDER = "Backups";
private static readonly string UPDATE_SANDBOX_FOLDER_NAME = "nzbdrone_update" + Path.DirectorySeparatorChar; private static readonly string UPDATE_SANDBOX_FOLDER_NAME = "nzbdrone_update" + Path.DirectorySeparatorChar;

View file

@ -35,8 +35,8 @@ namespace NzbDrone.Common.Processes
{ {
private readonly Logger _logger; private readonly Logger _logger;
public const string NZB_DRONE_PROCESS_NAME = "NzbDrone"; public const string NZB_DRONE_PROCESS_NAME = "Radarr";
public const string NZB_DRONE_CONSOLE_PROCESS_NAME = "NzbDrone.Console"; public const string NZB_DRONE_CONSOLE_PROCESS_NAME = "Radarr.Console";
public ProcessProvider(Logger logger) public ProcessProvider(Logger logger)
{ {

View file

@ -9,7 +9,7 @@
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NzbDrone.Console</RootNamespace> <RootNamespace>NzbDrone.Console</RootNamespace>
<AssemblyName>NzbDrone.Console</AssemblyName> <AssemblyName>Radarr.Console</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<TargetFrameworkProfile> <TargetFrameworkProfile>

View file

@ -59,7 +59,7 @@ namespace NzbDrone.Core.Test.UpdateTests
Mocker.GetMock<IVerifyUpdates>().Setup(c => c.Verify(It.IsAny<UpdatePackage>(), It.IsAny<string>())).Returns(true); Mocker.GetMock<IVerifyUpdates>().Setup(c => c.Verify(It.IsAny<UpdatePackage>(), It.IsAny<string>())).Returns(true);
Mocker.GetMock<IProcessProvider>().Setup(c => c.GetCurrentProcess()).Returns(new ProcessInfo { Id = 12 }); Mocker.GetMock<IProcessProvider>().Setup(c => c.GetCurrentProcess()).Returns(new ProcessInfo { Id = 12 });
Mocker.GetMock<IRuntimeInfo>().Setup(c => c.ExecutingApplication).Returns(@"C:\Test\NzbDrone.exe"); Mocker.GetMock<IRuntimeInfo>().Setup(c => c.ExecutingApplication).Returns(@"C:\Test\Radarr.exe");
Mocker.GetMock<IConfigFileProvider>() Mocker.GetMock<IConfigFileProvider>()
.SetupGet(s => s.UpdateAutomatically) .SetupGet(s => s.UpdateAutomatically)

View file

@ -5,7 +5,7 @@ using NLog;
using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Core.Configuration; using NzbDrone.Core.Configuration;
namespace NzbDrone.Host.AccessControl namespace Radarr.Host.AccessControl
{ {
public interface IFirewallAdapter public interface IFirewallAdapter
{ {

View file

@ -2,7 +2,7 @@
using NLog; using NLog;
using NzbDrone.Common.Processes; using NzbDrone.Common.Processes;
namespace NzbDrone.Host.AccessControl namespace Radarr.Host.AccessControl
{ {
public interface INetshProvider public interface INetshProvider
{ {

View file

@ -3,7 +3,7 @@ using System.Text.RegularExpressions;
using NLog; using NLog;
using NzbDrone.Core.Configuration; using NzbDrone.Core.Configuration;
namespace NzbDrone.Host.AccessControl namespace Radarr.Host.AccessControl
{ {
public interface ISslAdapter public interface ISslAdapter
{ {

View file

@ -1,4 +1,4 @@
namespace NzbDrone.Host.AccessControl namespace Radarr.Host.AccessControl
{ {
public class UrlAcl public class UrlAcl
{ {

View file

@ -7,7 +7,7 @@ using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Common.Extensions; using NzbDrone.Common.Extensions;
using NzbDrone.Core.Configuration; using NzbDrone.Core.Configuration;
namespace NzbDrone.Host.AccessControl namespace Radarr.Host.AccessControl
{ {
public interface IUrlAclAdapter public interface IUrlAclAdapter
{ {

View file

@ -1,4 +1,4 @@
namespace NzbDrone.Host namespace Radarr.Host
{ {
public enum ApplicationModes public enum ApplicationModes
{ {

View file

@ -5,9 +5,9 @@ using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Core.Configuration; using NzbDrone.Core.Configuration;
using NzbDrone.Core.Lifecycle; using NzbDrone.Core.Lifecycle;
using NzbDrone.Core.Messaging.Events; using NzbDrone.Core.Messaging.Events;
using NzbDrone.Host.Owin; using Radarr.Host.Owin;
namespace NzbDrone.Host namespace Radarr.Host
{ {
public interface INzbDroneServiceFactory public interface INzbDroneServiceFactory
{ {

View file

@ -10,7 +10,7 @@ using NzbDrone.Common.Security;
using NzbDrone.Core.Datastore; using NzbDrone.Core.Datastore;
using NzbDrone.Core.Instrumentation; using NzbDrone.Core.Instrumentation;
namespace NzbDrone.Host namespace Radarr.Host
{ {
public static class Bootstrap public static class Bootstrap
{ {

View file

@ -4,7 +4,7 @@ using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Common.Processes; using NzbDrone.Common.Processes;
using NzbDrone.Core.Configuration; using NzbDrone.Core.Configuration;
namespace NzbDrone.Host namespace Radarr.Host
{ {
public interface IBrowserService public interface IBrowserService
{ {

View file

@ -1,4 +1,4 @@
namespace NzbDrone.Host namespace Radarr.Host
{ {
public interface IUserAlert public interface IUserAlert
{ {

View file

@ -6,7 +6,7 @@ using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Common.Http.Dispatchers; using NzbDrone.Common.Http.Dispatchers;
using NzbDrone.SignalR; using NzbDrone.SignalR;
namespace NzbDrone.Host namespace Radarr.Host
{ {
public class MainAppContainerBuilder : ContainerBuilderBase public class MainAppContainerBuilder : ContainerBuilderBase
{ {
@ -14,7 +14,7 @@ namespace NzbDrone.Host
{ {
var assemblies = new List<string> var assemblies = new List<string>
{ {
"NzbDrone.Host", "Radarr.Host",
"NzbDrone.Common", "NzbDrone.Common",
"NzbDrone.Core", "NzbDrone.Core",
"NzbDrone.Api", "NzbDrone.Api",

View file

@ -8,8 +8,8 @@
<ProjectGuid>{95C11A9E-56ED-456A-8447-2C89C1139266}</ProjectGuid> <ProjectGuid>{95C11A9E-56ED-456A-8447-2C89C1139266}</ProjectGuid>
<OutputType>Library</OutputType> <OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NzbDrone.Host</RootNamespace> <RootNamespace>Radarr.Host</RootNamespace>
<AssemblyName>NzbDrone.Host</AssemblyName> <AssemblyName>Radarr.Host</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<TargetFrameworkProfile> <TargetFrameworkProfile>

View file

@ -1,4 +1,4 @@
namespace NzbDrone.Host.Owin namespace Radarr.Host.Owin
{ {
public interface IHostController public interface IHostController
{ {

View file

@ -1,6 +1,6 @@
using Owin; using Owin;
namespace NzbDrone.Host.Owin.MiddleWare namespace Radarr.Host.Owin.MiddleWare
{ {
public interface IOwinMiddleWare public interface IOwinMiddleWare
{ {

View file

@ -2,7 +2,7 @@
using Nancy.Owin; using Nancy.Owin;
using Owin; using Owin;
namespace NzbDrone.Host.Owin.MiddleWare namespace Radarr.Host.Owin.MiddleWare
{ {
public class NancyMiddleWare : IOwinMiddleWare public class NancyMiddleWare : IOwinMiddleWare
{ {

View file

@ -4,7 +4,7 @@ using Microsoft.Owin;
using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.EnvironmentInfo;
using Owin; using Owin;
namespace NzbDrone.Host.Owin.MiddleWare namespace Radarr.Host.Owin.MiddleWare
{ {
public class NzbDroneVersionMiddleWare : IOwinMiddleWare public class NzbDroneVersionMiddleWare : IOwinMiddleWare
{ {

View file

@ -4,7 +4,7 @@ using NzbDrone.Common.Composition;
using NzbDrone.SignalR; using NzbDrone.SignalR;
using Owin; using Owin;
namespace NzbDrone.Host.Owin.MiddleWare namespace Radarr.Host.Owin.MiddleWare
{ {
public class SignalRMiddleWare : IOwinMiddleWare public class SignalRMiddleWare : IOwinMiddleWare
{ {

View file

@ -2,7 +2,7 @@
using System.Text; using System.Text;
using NLog; using NLog;
namespace NzbDrone.Host.Owin namespace Radarr.Host.Owin
{ {
public class NlogTextWriter : TextWriter public class NlogTextWriter : TextWriter
{ {

View file

@ -1,9 +1,9 @@
using System; using System;
using NLog; using NLog;
using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Host.AccessControl; using Radarr.Host.AccessControl;
namespace NzbDrone.Host.Owin namespace Radarr.Host.Owin
{ {
public class OwinHostController : IHostController public class OwinHostController : IHostController
{ {

View file

@ -9,10 +9,10 @@ using Microsoft.Owin.Hosting.Services;
using Microsoft.Owin.Hosting.Tracing; using Microsoft.Owin.Hosting.Tracing;
using NLog; using NLog;
using NzbDrone.Core.Configuration; using NzbDrone.Core.Configuration;
using NzbDrone.Host.Owin.MiddleWare; using Radarr.Host.Owin.MiddleWare;
using Owin; using Owin;
namespace NzbDrone.Host.Owin namespace Radarr.Host.Owin
{ {
public interface IOwinAppFactory public interface IOwinAppFactory
{ {

View file

@ -2,7 +2,7 @@
using Microsoft.Owin.Hosting.Tracing; using Microsoft.Owin.Hosting.Tracing;
using NLog; using NLog;
namespace NzbDrone.Host.Owin namespace Radarr.Host.Owin
{ {
public class OwinTraceOutputFactory : ITraceOutputFactory public class OwinTraceOutputFactory : ITraceOutputFactory
{ {

View file

@ -1,7 +1,7 @@
using System; using System;
using NzbDrone.Common.Exceptions; using NzbDrone.Common.Exceptions;
namespace NzbDrone.Host.Owin namespace Radarr.Host.Owin
{ {
public class PortInUseException : NzbDroneException public class PortInUseException : NzbDroneException
{ {

View file

@ -5,7 +5,7 @@ using NLog;
using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Common.Instrumentation; using NzbDrone.Common.Instrumentation;
namespace NzbDrone.Host namespace Radarr.Host
{ {
public static class PlatformValidation public static class PlatformValidation
{ {

View file

@ -5,7 +5,7 @@ using System.Runtime.InteropServices;
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
// associated with an assembly. // associated with an assembly.
[assembly: AssemblyTitle("NzbDrone.exe")] [assembly: AssemblyTitle("Radarr.exe")]
[assembly: Guid("C2172AF4-F9A6-4D91-BAEE-C2E4EE680613")] [assembly: Guid("C2172AF4-F9A6-4D91-BAEE-C2E4EE680613")]
[assembly: AssemblyVersion("10.0.0.*")] [assembly: AssemblyVersion("10.0.0.*")]

View file

@ -1,7 +1,7 @@
using NLog; using NLog;
using NzbDrone.Common; using NzbDrone.Common;
namespace NzbDrone.Host namespace Radarr.Host
{ {
public class Router public class Router
{ {

View file

@ -4,7 +4,7 @@ using System.Linq;
using NLog; using NLog;
using NzbDrone.Common.Processes; using NzbDrone.Common.Processes;
namespace NzbDrone.Host namespace Radarr.Host
{ {
public interface ISingleInstancePolicy public interface ISingleInstancePolicy
{ {
@ -31,9 +31,9 @@ namespace NzbDrone.Host
{ {
if (IsAlreadyRunning()) if (IsAlreadyRunning())
{ {
_logger.Warn("Another instance of Sonarr or Radarr is already running."); _logger.Warn("Another instance of Radarr is already running.");
_browserService.LaunchWebUI(); _browserService.LaunchWebUI();
//throw new TerminateApplicationException("Another instance is already running"); TODO: detect only radarr throw new TerminateApplicationException("Another instance is already running");
} }
} }

View file

@ -4,7 +4,7 @@ using NLog.Common;
using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Common.Processes; using NzbDrone.Common.Processes;
namespace NzbDrone.Host namespace Radarr.Host
{ {
public interface IWaitForExit public interface IWaitForExit
{ {

View file

@ -1,6 +1,6 @@
using System; using System;
namespace NzbDrone.Host namespace Radarr.Host
{ {
public class TerminateApplicationException : ApplicationException public class TerminateApplicationException : ApplicationException
{ {

View file

@ -32,16 +32,16 @@ namespace NzbDrone.Test.Common
{ {
AppData = Path.Combine(TestContext.CurrentContext.TestDirectory, "_intg_" + DateTime.Now.Ticks); AppData = Path.Combine(TestContext.CurrentContext.TestDirectory, "_intg_" + DateTime.Now.Ticks);
var nzbdroneConsoleExe = "NzbDrone.Console.exe"; var nzbdroneConsoleExe = "Radarr.Console.exe";
if (OsInfo.IsNotWindows) if (OsInfo.IsNotWindows)
{ {
nzbdroneConsoleExe = "NzbDrone.exe"; nzbdroneConsoleExe = "Radarr.exe";
} }
if (BuildInfo.IsDebug) if (BuildInfo.IsDebug)
{ {
Start(Path.Combine(TestContext.CurrentContext.TestDirectory, "..\\..\\..\\..\\..\\_output\\NzbDrone.Console.exe")); Start(Path.Combine(TestContext.CurrentContext.TestDirectory, "..\\..\\..\\..\\..\\_output\\Radarr.Console.exe"));
} }
else else
{ {

View file

@ -34,7 +34,7 @@ namespace NzbDrone.Update.Test
[Test] [Test]
public void should_call_update_with_correct_path() public void should_call_update_with_correct_path()
{ {
var ProcessPath = @"C:\NzbDrone\nzbdrone.exe".AsOsAgnostic(); var ProcessPath = @"C:\NzbDrone\radarr.exe".AsOsAgnostic();
Mocker.GetMock<IProcessProvider>().Setup(c => c.GetProcessById(12)) Mocker.GetMock<IProcessProvider>().Setup(c => c.GetProcessById(12))
.Returns(new ProcessInfo() { StartPath = ProcessPath }); .Returns(new ProcessInfo() { StartPath = ProcessPath });

View file

@ -32,7 +32,7 @@ namespace NzbDrone.Update.Test
Subject.Start(AppType.Service, targetFolder); Subject.Start(AppType.Service, targetFolder);
Mocker.GetMock<IProcessProvider>().Verify(c => c.SpawnNewProcess("c:\\NzbDrone\\NzbDrone.Console.exe", "/" + StartupContext.NO_BROWSER, null), Times.Once()); Mocker.GetMock<IProcessProvider>().Verify(c => c.SpawnNewProcess("c:\\NzbDrone\\Radarr.Console.exe", "/" + StartupContext.NO_BROWSER, null), Times.Once());
ExceptionVerification.ExpectedWarns(1); ExceptionVerification.ExpectedWarns(1);
} }

View file

@ -232,7 +232,7 @@ namespace NzbDrone.Update.Test
.Verify(c => c.Start(It.IsAny<string>()), Times.Never()); .Verify(c => c.Start(It.IsAny<string>()), Times.Never());
Mocker.GetMock<IProcessProvider>() Mocker.GetMock<IProcessProvider>()
.Verify(c => c.Start(TARGET_FOLDER + "NzbDrone.exe"), Times.Once()); .Verify(c => c.Start(TARGET_FOLDER + "radarr.exe"), Times.Once());
} }

View file

@ -9,7 +9,7 @@
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NzbDrone.Update</RootNamespace> <RootNamespace>NzbDrone.Update</RootNamespace>
<AssemblyName>NzbDrone.Update</AssemblyName> <AssemblyName>Radarr.Update</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile> <TargetFrameworkProfile>
</TargetFrameworkProfile> </TargetFrameworkProfile>

View file

@ -22,7 +22,7 @@ namespace NzbDrone.Update.UpdateEngine
{ {
try try
{ {
var targetExecutable = Path.Combine(targetFolder, "NzbDrone.exe"); var targetExecutable = Path.Combine(targetFolder, "Radarr.exe");
if (File.Exists(targetExecutable)) if (File.Exists(targetExecutable))
{ {

View file

@ -62,12 +62,12 @@ namespace NzbDrone.Update.UpdateEngine
private void StartWinform(string installationFolder) private void StartWinform(string installationFolder)
{ {
Start(installationFolder, "NzbDrone.exe"); Start(installationFolder, "Radarr.exe");
} }
private void StartConsole(string installationFolder) private void StartConsole(string installationFolder)
{ {
Start(installationFolder, "NzbDrone.Console.exe"); Start(installationFolder, "Radarr.Console.exe");
} }
private void Start(string installationFolder, string fileName) private void Start(string installationFolder, string fileName)

View file

@ -1,5 +1,5 @@
using System.Windows.Forms; using System.Windows.Forms;
using NzbDrone.Host; using Radarr.Host;
namespace NzbDrone namespace NzbDrone
{ {

View file

@ -9,7 +9,7 @@
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NzbDrone</RootNamespace> <RootNamespace>NzbDrone</RootNamespace>
<AssemblyName>NzbDrone</AssemblyName> <AssemblyName>Radarr</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<TargetFrameworkProfile> <TargetFrameworkProfile>

View file

@ -5,7 +5,7 @@ using System.Runtime.InteropServices;
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
// associated with an assembly. // associated with an assembly.
[assembly: AssemblyTitle("NzbDrone.exe")] [assembly: AssemblyTitle("Radarr.exe")]
[assembly: Guid("67AADCD9-89AA-4D95-8281-3193740E70E5")] [assembly: Guid("67AADCD9-89AA-4D95-8281-3193740E70E5")]
[assembly: AssemblyVersion("10.0.0.*")] [assembly: AssemblyVersion("10.0.0.*")]

View file

@ -4,7 +4,7 @@ using System.Windows.Forms;
using NLog; using NLog;
using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Common.Processes; using NzbDrone.Common.Processes;
using NzbDrone.Host; using Radarr.Host;
namespace NzbDrone.SysTray namespace NzbDrone.SysTray
{ {

View file

@ -3,7 +3,7 @@ using System.Windows.Forms;
using NLog; using NLog;
using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Common.Instrumentation; using NzbDrone.Common.Instrumentation;
using NzbDrone.Host; using Radarr.Host;
using NzbDrone.SysTray; using NzbDrone.SysTray;
namespace NzbDrone namespace NzbDrone

View file

@ -8,7 +8,7 @@ namespace ServiceInstall
{ {
public static class ServiceHelper public static class ServiceHelper
{ {
private static string NzbDroneExe => Path.Combine(new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName, "NzbDrone.Console.exe"); private static string NzbDroneExe => Path.Combine(new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName, "Radarr.Console.exe");
private static bool IsAnAdministrator() private static bool IsAnAdministrator()
{ {
@ -20,7 +20,7 @@ namespace ServiceInstall
{ {
if (!File.Exists(NzbDroneExe)) if (!File.Exists(NzbDroneExe))
{ {
Console.WriteLine("Unable to find NzbDrone.Console.exe in the current directory."); Console.WriteLine("Unable to find Radarr.Console.exe in the current directory.");
return; return;
} }

View file

@ -8,7 +8,7 @@ namespace ServiceUninstall
{ {
public static class ServiceHelper public static class ServiceHelper
{ {
private static string NzbDroneExe => Path.Combine(new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName, "NzbDrone.Console.exe"); private static string NzbDroneExe => Path.Combine(new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName, "Radarr.Console.exe");
private static bool IsAnAdministrator() private static bool IsAnAdministrator()
{ {
@ -20,7 +20,7 @@ namespace ServiceUninstall
{ {
if (!File.Exists(NzbDroneExe)) if (!File.Exists(NzbDroneExe))
{ {
Console.WriteLine("Unable to find NzbDrone.exe in the current directory."); Console.WriteLine("Unable to find Radarr.exe in the current directory.");
return; return;
} }