2011-10-14 03:22:51 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Reflection;
|
|
|
|
|
using Ninject;
|
2011-10-17 03:42:20 +02:00
|
|
|
|
using NzbDrone.Providers;
|
2011-10-14 03:22:51 +02:00
|
|
|
|
|
|
|
|
|
namespace NzbDrone
|
|
|
|
|
{
|
|
|
|
|
public static class AppMain
|
|
|
|
|
{
|
|
|
|
|
public static void Main(string[] args)
|
|
|
|
|
{
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
Console.WriteLine("Starting NzbDrone Console. Version " + Assembly.GetExecutingAssembly().GetName().Version);
|
|
|
|
|
|
|
|
|
|
CentralDispatch.Kernel.Get<Router>().Route(args);
|
|
|
|
|
}
|
|
|
|
|
catch (Exception e)
|
|
|
|
|
{
|
2011-10-17 03:42:20 +02:00
|
|
|
|
MonitoringProvider.AppDomainException(e);
|
2011-10-14 03:22:51 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|