1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-05 23:53:21 +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.updaterMain = new UpdaterMain(this.i18nService, this.windowMain, 'directory-connector', () => {
this.messagingService.send('checkingForUpdate');
}, null, () => {
}, () => {
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.messagingService = new ElectronMainMessagingService(this.windowMain, (message) => {
this.messagingMain.onMessage(message);