Added a config setting to denote completion of the startup wizard

This commit is contained in:
LukePulverenti
2013-03-04 11:56:29 -05:00
parent 05b9500175
commit da535db655
6 changed files with 28 additions and 3 deletions

View File

@@ -158,10 +158,10 @@ namespace MediaBrowser.Common.Implementations
{
return Task.Run(() =>
{
IsFirstRun = !ConfigurationManager.CommonConfiguration.IsStartupWizardCompleted;
Logger = LogManager.GetLogger("App");
IsFirstRun = !File.Exists(ApplicationPaths.SystemConfigurationFilePath);
DiscoverTypes();
LogManager.ReloadLogger(ConfigurationManager.CommonConfiguration.EnableDebugLevelLogging ? LogSeverity.Debug : LogSeverity.Info);