adding support for running integration tests using packaged build.

This commit is contained in:
kay.one
2013-08-12 22:08:37 -07:00
parent dc1895ee48
commit eab6c3a4b5
21 changed files with 206 additions and 94 deletions

View File

@@ -1,5 +1,6 @@
using System;
using System.Windows.Forms;
using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.SysTray;
namespace NzbDrone
@@ -10,7 +11,7 @@ namespace NzbDrone
{
try
{
var container = Host.Bootstrap.Start(args);
var container = Host.Bootstrap.Start(new StartupArguments(args));
container.Register<ISystemTrayApp, SystemTrayApp>();
container.Resolve<ISystemTrayApp>().Start();
}