Fixed application path detection.

This commit is contained in:
kay.one 2011-11-20 19:42:45 -08:00
parent 508be34ebc
commit 5ea8fd22f7
5 changed files with 40 additions and 17 deletions

View file

@ -31,9 +31,9 @@ namespace NzbDrone.Update
Console.WriteLine("Starting NzbDrone Update Client");
InitLoggers();
logger.Info("Initializing update application");
_kernel = new StandardKernel();
logger.Info("Updating NzbDrone to version {0}", _kernel.Get<EnviromentProvider>().Version);
_kernel.Get<Program>().Start(args);
}
catch (Exception e)