From 5fe71b81697dfd7b7de681339f79ff0053f250c7 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Thu, 20 Sep 2018 13:01:25 +0200 Subject: [PATCH] hide menu on Linux and Windows --- app/lib/app.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/lib/app.ts b/app/lib/app.ts index d8e10aca..492d7436 100644 --- a/app/lib/app.ts +++ b/app/lib/app.ts @@ -21,7 +21,9 @@ export class Application { this.enableTray() } }) - this.setupMenu() + if (process.platform === 'darwin') { + this.setupMenu() + } await window.ready return window }