From f887513e0953ec8a15fd02c5a763b8ad26039822 Mon Sep 17 00:00:00 2001 From: smartfridge <37928912+smartfrigde@users.noreply.github.com> Date: Mon, 10 May 2021 16:35:07 +0200 Subject: [PATCH] Follow Discord tray behaviour --- main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.js b/main.js index dd0ff40..565d915 100644 --- a/main.js +++ b/main.js @@ -73,6 +73,9 @@ function createWindow() { }, }, ]); + appIcon.on("click", () => { + mainWindow.show() + }); appIcon.setContextMenu(contextMenu);