mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-23 08:13:01 +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();
|
|
|
|
}
|
|
}
|
|
}
|