Hidden startup, shutodwn and restart

New: Run without console window by default
New: Added NzbDrone.Console to run with console window
New: Shutdown from UI
New: Restart from UI
This commit is contained in:
Mark McDowall 2013-01-06 00:11:14 -08:00
commit 125703a2fa
29 changed files with 504 additions and 98 deletions

View file

@ -11,6 +11,7 @@ namespace NzbDrone.Common
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
public static readonly string NzbDroneProccessName = "NzbDrone";
public static readonly string NzbDroneConsoleProccessName = "NzbDrone.Console";
public virtual ProcessInfo GetCurrentProcess()
{
@ -107,6 +108,5 @@ namespace NzbDrone.Common
Name = process.ProcessName
};
}
}
}