mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
parent
a602611a5f
commit
a4b78b44ce
1307 changed files with 8702 additions and 7403 deletions
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
public static class Program
|
||||
{
|
||||
static void Main()
|
||||
private static void Main()
|
||||
{
|
||||
ServiceHelper.Run(@"/i");
|
||||
}
|
||||
|
|
|
@ -31,18 +31,18 @@ namespace ServiceInstall
|
|||
}
|
||||
|
||||
var startInfo = new ProcessStartInfo
|
||||
{
|
||||
FileName = LidarrExe,
|
||||
Arguments = arg,
|
||||
UseShellExecute = false,
|
||||
RedirectStandardOutput = true,
|
||||
RedirectStandardError = true,
|
||||
CreateNoWindow = true
|
||||
};
|
||||
{
|
||||
FileName = LidarrExe,
|
||||
Arguments = arg,
|
||||
UseShellExecute = false,
|
||||
RedirectStandardOutput = true,
|
||||
RedirectStandardError = true,
|
||||
CreateNoWindow = true
|
||||
};
|
||||
|
||||
var process = new Process { StartInfo = startInfo };
|
||||
process.OutputDataReceived += (OnDataReceived);
|
||||
process.ErrorDataReceived += (OnDataReceived);
|
||||
process.OutputDataReceived += OnDataReceived;
|
||||
process.ErrorDataReceived += OnDataReceived;
|
||||
|
||||
process.Start();
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
public static class Program
|
||||
{
|
||||
static void Main()
|
||||
private static void Main()
|
||||
{
|
||||
ServiceHelper.Run(@"/u");
|
||||
}
|
||||
|
|
|
@ -31,18 +31,18 @@ namespace ServiceUninstall
|
|||
}
|
||||
|
||||
var startInfo = new ProcessStartInfo
|
||||
{
|
||||
FileName = LidarrExe,
|
||||
Arguments = arg,
|
||||
UseShellExecute = false,
|
||||
RedirectStandardOutput = true,
|
||||
RedirectStandardError = true,
|
||||
CreateNoWindow = true
|
||||
};
|
||||
{
|
||||
FileName = LidarrExe,
|
||||
Arguments = arg,
|
||||
UseShellExecute = false,
|
||||
RedirectStandardOutput = true,
|
||||
RedirectStandardError = true,
|
||||
CreateNoWindow = true
|
||||
};
|
||||
|
||||
var process = new Process { StartInfo = startInfo };
|
||||
process.OutputDataReceived += (OnDataReceived);
|
||||
process.ErrorDataReceived += (OnDataReceived);
|
||||
process.OutputDataReceived += OnDataReceived;
|
||||
process.ErrorDataReceived += OnDataReceived;
|
||||
|
||||
process.Start();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue