mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
New: Backend changes for new UI
This commit is contained in:
@@ -8,7 +8,7 @@ namespace ServiceUninstall
|
||||
{
|
||||
public static class ServiceHelper
|
||||
{
|
||||
private static string NzbDroneExe => Path.Combine(new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName, "Radarr.Console.exe");
|
||||
private static string RadarrExe => Path.Combine(new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName, "Radarr.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(RadarrExe))
|
||||
{
|
||||
Console.WriteLine("Unable to find Radarr.exe in the current directory.");
|
||||
return;
|
||||
@@ -32,7 +32,7 @@ namespace ServiceUninstall
|
||||
|
||||
var startInfo = new ProcessStartInfo
|
||||
{
|
||||
FileName = NzbDroneExe,
|
||||
FileName = RadarrExe,
|
||||
Arguments = arg,
|
||||
UseShellExecute = false,
|
||||
RedirectStandardOutput = true,
|
||||
@@ -59,4 +59,4 @@ namespace ServiceUninstall
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user