mirror of
https://github.com/Radarr/Radarr
synced 2024-12-27 02:09:59 +00:00
25 lines
665 B
C#
25 lines
665 B
C#
using NLog;
|
|
using NzbDrone.Core;
|
|
|
|
namespace NzbDrone
|
|
{
|
|
class Program
|
|
{
|
|
|
|
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
|
|
static void Main(string[] args)
|
|
{
|
|
CentralDispatch.ConfigureNlog();
|
|
CentralDispatch.BindKernel();
|
|
|
|
Logger.Info("Starting NZBDrone WebUI");
|
|
var server = new CassiniDev.Server(@"D:\My Dropbox\Git\NzbDrone\NzbDrone.Web");
|
|
server.Start();
|
|
|
|
System.Diagnostics.Process.Start(server.RootUrl);
|
|
Logger.Info("Server available at: " + server.RootUrl);
|
|
System.Console.ReadLine();
|
|
|
|
}
|
|
}
|
|
}
|