From e5712be5570caece75cd3e5d039f31e8e347f9cc Mon Sep 17 00:00:00 2001 From: xanderfrangos <33106561+xanderfrangos@users.noreply.github.com> Date: Sat, 1 May 2021 21:35:55 -0400 Subject: [PATCH] Track tray icon by GUID --- src/electron.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/electron.js b/src/electron.js index 4f9dd942..17be2c4b 100644 --- a/src/electron.js +++ b/src/electron.js @@ -1826,7 +1826,7 @@ app.on('quit', () => { function createTray() { if (tray != null) return false; - tray = new Tray(getTrayIconPath()) + tray = new Tray(getTrayIconPath(), "8dcc89ce-312e-45bf-9b4d-125adc526cc3") const contextMenu = Menu.buildFromTemplate([ { label: T.t("GENERIC_SETTINGS"), type: 'normal', click: createSettings }, { label: T.t("GENERIC_QUIT"), type: 'normal', click: quitApp }