load modules

This commit is contained in:
Jiiks 2018-02-14 00:17:02 +02:00
parent 44832fb11a
commit 01b54a37bc
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,7 @@
import { DOM, BdUI, Modals } from 'ui';
import BdCss from './styles/index.scss';
import { Events, CssEditor, Globals, PluginManager, ThemeManager, ModuleManager, WebpackModules, Settings } from 'modules';
import { Events, CssEditor, Globals, ExtModuleManager, PluginManager, ThemeManager, ModuleManager, WebpackModules, Settings } from 'modules';
import { ClientLogger as Logger, ClientIPC } from 'common';
class BetterDiscord {
@ -30,6 +30,7 @@ class BetterDiscord {
async init() {
await Settings.loadSettings();
await ModuleManager.initModules();
await ExtModuleManager.loadAllModules(true);
await PluginManager.loadAllPlugins(true);
await ThemeManager.loadAllThemes(true);
Modals.showContentManagerErrors();