ConfigFile for NzbDrone.exe is now stored under App_Data for NzbDrone.Web. - This will be to provide the users a way to edit Port and set whether they want their default browser to open on startup, all form the WebUI (and not be overwritten on upgrades).

This commit is contained in:
Mark McDowall 2011-09-30 20:12:18 -07:00
commit f0f706b32c
9 changed files with 223 additions and 6 deletions

View file

@ -16,6 +16,7 @@ namespace NzbDrone
try
{
Config.ConfigureNlog();
Config.CreateDefaultConfigFile();
Logger.Info("Starting NZBDrone. Start-up Path:'{0}'", Config.ProjectRoot);
Thread.CurrentThread.Name = "Host";
@ -39,7 +40,7 @@ namespace NzbDrone
Attach();
#endif
if (!Environment.UserInteractive)
if (!Environment.UserInteractive || !Config.LaunchBrowser)
{
try
{