From 8d5127c261333a19cb26f63c652ae556db84448c Mon Sep 17 00:00:00 2001 From: leejinho Date: Mon, 23 Mar 2020 16:26:24 +0900 Subject: [PATCH] =?UTF-8?q?bugfix=20::=20=EB=85=B8=ED=8B=B0=20=EC=88=98?= =?UTF-8?q?=EC=8B=A0=EC=8B=9C=20window=20state=20=EA=B0=80=20unvisible=20?= =?UTF-8?q?=EC=A6=89=20tray=20=EC=97=90=20=EC=9E=88=EC=9D=84=20=EA=B2=BD?= =?UTF-8?q?=EC=9A=B0=20minimize=20=EB=A1=9C=20=EC=9E=91=EC=97=85=ED=91=9C?= =?UTF-8?q?=EC=8B=9C=EC=B6=9C=EC=97=90=20=ED=91=9C=EC=8B=9C=ED=95=98?= =?UTF-8?q?=EA=B3=A0=20=EB=B8=94=EB=A7=81=ED=81=AC=20=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron-projects/ucap-webmessenger-electron/src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/electron-projects/ucap-webmessenger-electron/src/index.ts b/electron-projects/ucap-webmessenger-electron/src/index.ts index 8f9e8f38..2784fe61 100644 --- a/electron-projects/ucap-webmessenger-electron/src/index.ts +++ b/electron-projects/ucap-webmessenger-electron/src/index.ts @@ -800,6 +800,10 @@ ipcMain.on( } }); + if (!appWindow.isVisible()) { + appWindow.browserWindow.minimize(); + } + appWindow.browserWindow.flashFrame(true); } );