From 9644d95b9b0a9cf1fd9a96329e56e4681e23d316 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 8 May 2018 13:36:48 -0400 Subject: [PATCH] done checking for update on reset too --- src/main.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 57cfcb89..f75f0591 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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);