mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Replaced ServiceInstall.bat/ServiceUninstall.bat with exe files that automatically elevate user permissions.
This commit is contained in:
parent
4da2e1cb72
commit
850880de47
22 changed files with 537 additions and 26 deletions
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();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue