From a95f7f8fbd97f72c45d66a7af65fc2d8d5efa32b Mon Sep 17 00:00:00 2001 From: Hugo C Date: Thu, 27 Jul 2023 02:20:15 +0200 Subject: [PATCH] Remove macOS tray icon (#68) Co-authored-by: V --- src/main/mainWindow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/mainWindow.ts b/src/main/mainWindow.ts index 7112615..65b70d2 100644 --- a/src/main/mainWindow.ts +++ b/src/main/mainWindow.ts @@ -359,7 +359,7 @@ function createMainWindow() { if (Settings.store.staticTitle) win.on("page-title-updated", e => e.preventDefault()); initWindowBoundsListeners(win); - if (Settings.store.tray ?? true) initTray(win); + if ((Settings.store.tray ?? true) && process.platform !== "darwin") initTray(win); initMenuBar(win); makeLinksOpenExternally(win); initSettingsListeners(win);