1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

get updater menu item by id

This commit is contained in:
Kyle Spearrin
2018-02-13 22:33:01 -05:00
parent f01f60b2db
commit c2043c1447
3 changed files with 17 additions and 14 deletions

View File

@@ -30,13 +30,12 @@ const updaterMain = new UpdaterMain(windowMain, i18nService);
const menuMain = new MenuMain(windowMain, updaterMain, i18nService, messagingService);
const powerMonitorMain = new PowerMonitorMain(storageService, messagingService);
windowMain.init().then(() => {
windowMain.init().then(async () => {
messagingMain.init();
return i18nService.init();
}).then(() => {
await i18nService.init();
menuMain.init();
powerMonitorMain.init();
updaterMain.init();
await updaterMain.init();
}, (e: any) => {
// tslint:disable-next-line
console.log(e);