From f149f9814500c2a2c9594a82dc411f9e0bd31e13 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 8 May 2018 10:59:12 -0400 Subject: [PATCH] respect showWindow param --- src/main/tray.main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/tray.main.ts b/src/main/tray.main.ts index e03bc61779f..d8c1ed3e6db 100644 --- a/src/main/tray.main.ts +++ b/src/main/tray.main.ts @@ -76,7 +76,7 @@ export class TrayMain { this.tray = null; } - if (this.windowMain.win != null && !this.windowMain.win.isVisible()) { + if (showWindow && this.windowMain.win != null && !this.windowMain.win.isVisible()) { this.windowMain.win.show(); } }