mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-17 21:26:22 -04:00
Replaced ServiceInstall.bat/ServiceUninstall.bat with exe files that automatically elevate user permissions.
This commit is contained in:
16
ServiceHelpers/ServiceUninstall/Program.cs
Normal file
16
ServiceHelpers/ServiceUninstall/Program.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.Linq;
|
||||
using System;
|
||||
using UninstallService;
|
||||
|
||||
namespace ServiceUninstall
|
||||
{
|
||||
public static class Program
|
||||
{
|
||||
static void Main()
|
||||
{
|
||||
ServiceHelper.Run(@"/u");
|
||||
Console.WriteLine("Press any key to continue");
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user