Skip to content

TagSpaces is an offline, open source, document manager with tagging support

Disabling the tray icon and menu on Mac OS

eliasapb1a8a21e603f
diff --git a/app/services/electron-io.js b/app/services/electron-io.js
index 27b0b6773..578982471 100644
--- a/app/services/electron-io.js
+++ b/app/services/electron-io.js
@@ -66,6 +66,11 @@ export default class ElectronIO {
};
initTrayMenu = (menuConfig: Array<Object>) => {
+ // Temp. disabling the tray support on Mac OS due to instability‚
+ if (process.platform === 'darwin') {
+ return true
+ }
+
const mainWindow = this.win;
const Menu = this.remote.Menu;
const Tray = this.remote.Tray;