From d86225d55173cf9328dcf9a1e8ebce503be1a445 Mon Sep 17 00:00:00 2001 From: Hinton Date: Fri, 11 Dec 2020 12:57:32 +0100 Subject: [PATCH 1/2] Fix tray window listeners not working after closing the window --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 1b6edc93230..be172b4a963 100644 --- a/src/main.ts +++ b/src/main.ts @@ -93,7 +93,7 @@ export class Main { this.storageService = new ElectronStorageService(app.getPath('userData'), storageDefaults); this.windowMain = new WindowMain(this.storageService, true, undefined, undefined, - (arg) => this.processDeepLink(arg)); + (arg) => this.processDeepLink(arg), (win) => this.trayMain.setupWindowListeners(win)); this.messagingMain = new MessagingMain(this, this.storageService); this.updaterMain = new UpdaterMain(this.i18nService, this.windowMain, 'desktop', () => { this.menuMain.updateMenuItem.enabled = false; From a938b842af044dc2dc470c7ea901bfd99301dd10 Mon Sep 17 00:00:00 2001 From: Hinton Date: Fri, 11 Dec 2020 15:48:55 +0100 Subject: [PATCH 2/2] Update jslib --- jslib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jslib b/jslib index 72bf18f3690..63fe38b3f4d 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 72bf18f369068d36767794bdc0ca377f734cf373 +Subproject commit 63fe38b3f4dddd701b1a8da8a89e70c9d7fbc706