Remove macOS tray icon (#68)

Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
Hugo C 2023-07-27 02:20:15 +02:00 committed by GitHub
parent 9d62cc9437
commit a95f7f8fbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);