1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-15 07:43:27 +00:00

done checking for update on reset too

This commit is contained in:
Kyle Spearrin
2018-05-08 13:36:48 -04:00
parent eef9f151ef
commit 9644d95b9b

View File

@@ -56,10 +56,12 @@ export class Main {
this.menuMain = new MenuMain(this); this.menuMain = new MenuMain(this);
this.updaterMain = new UpdaterMain(this.i18nService, this.windowMain, 'directory-connector', () => { this.updaterMain = new UpdaterMain(this.i18nService, this.windowMain, 'directory-connector', () => {
this.messagingService.send('checkingForUpdate'); this.messagingService.send('checkingForUpdate');
}, null, () => { }, () => {
this.messagingService.send('doneCheckingForUpdate');
}, () => {
this.messagingService.send('doneCheckingForUpdate'); this.messagingService.send('doneCheckingForUpdate');
}); });
this.trayMain = new TrayMain(this.windowMain, this.i18nService, this.storageService,); this.trayMain = new TrayMain(this.windowMain, this.i18nService, this.storageService, );
this.messagingMain = new MessagingMain(this.windowMain, this.menuMain, this.updaterMain, this.trayMain); this.messagingMain = new MessagingMain(this.windowMain, this.menuMain, this.updaterMain, this.trayMain);
this.messagingService = new ElectronMainMessagingService(this.windowMain, (message) => { this.messagingService = new ElectronMainMessagingService(this.windowMain, (message) => {
this.messagingMain.onMessage(message); this.messagingMain.onMessage(message);