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:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user