private void InitializeStorages() { m_configurationStorage.Initialize(); m_firmwareDefinitionStorage.Initialize(); m_resourcePackStorage.Initialize(); m_definitions = m_firmwareDefinitionStorage.LoadAll(); m_configuration = m_configurationStorage.TryLoad(Paths.SettingsFile) ?? new ApplicationConfiguration(); m_mruFirmwares = new MruList <string>(m_configuration.MostRecentlyUsed); m_patchManager.InitializeStorage(m_definitions); }
private void InitializeStorages() { m_configurationStorage.Initialize(); m_firmwareDefinitionStorage.Initialize(); m_resourcePackStorage.Initialize(); m_definitions = m_firmwareDefinitionStorage.LoadAll().ToList(); m_configuration = m_configurationStorage.TryLoad(NFEPaths.SettingsFile) ?? new ApplicationConfiguration(); m_mruFirmwares = new MruList <string>(m_configuration.MostRecentlyUsed); m_patchManager.InitializeStorage(m_definitions); //m_updatesManager.SetupInitialData(Consts.ApplicationVersion, m_definitions); }