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