1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 10:32:35 +01:00
Radarr/NzbDrone/AppMain.cs

26 lines
574 B
C#
Raw Normal View History

using System;
using System.Reflection;
using Ninject;
using NzbDrone.Providers;
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)
{
MonitoringProvider.AppDomainException(e);
}
}
}
}