From 56ea833595a20f43a454d031e60ba0f2dc3a4c51 Mon Sep 17 00:00:00 2001 From: Core Date: Thu, 15 Sep 2022 19:57:43 +0100 Subject: [PATCH] Resolved issue #1438 --- src/main/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/index.ts b/src/main/index.ts index 16a57dbe..6f52ad6f 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -49,7 +49,9 @@ app.on("ready", () => { win.on("ready-to-show", () => { console.debug("[Cider] Window is Ready."); CiderPlug.callPlugins("onReady", win); - win.show(); + if (!app.commandLine.hasSwitch("hidden")) { + win.show(); + } }); }); });