mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-27 02:07:41 +00:00
26 lines
No EOL
574 B
C#
26 lines
No EOL
574 B
C#
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);
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
} |