From 04c35ba7a901dc06e30f9a2a69c09d8880f55aaf Mon Sep 17 00:00:00 2001 From: Hunlongyu Date: Mon, 26 Oct 2020 16:46:41 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=94=20=E5=BC=80=E5=8F=91=E6=89=80?= =?UTF-8?q?=E6=9C=89=E7=B3=BB=E7=BB=9F=E7=9A=84=E6=9B=B4=E6=96=B0=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/background.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/background.js b/src/background.js index 4144853..ac0a933 100644 --- a/src/background.js +++ b/src/background.js @@ -36,9 +36,7 @@ function createWindow () { win.loadURL('app://./index.html') } - if (process.platform === 'win32') { - initUpdater(win) - } + initUpdater(win) win.on('closed', () => { win = null