From 934b54f01112977f4e7c3ddbc14f42772d89cd1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Sun, 20 Jan 2019 23:03:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96mac=E4=B8=8Bdock=E6=A0=8F?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E7=9A=84=E7=82=B9=E5=87=BB=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.js b/src/main.js index 707d3b2..154657f 100644 --- a/src/main.js +++ b/src/main.js @@ -168,3 +168,9 @@ app.once('ready', () => { } }) }) + +app.on('activate', _ => { + if (win) { + win.show() + } +})