From 4974d57fbfdba3e944f49da0e7efef7913c930f0 Mon Sep 17 00:00:00 2001 From: Hunlongyu Date: Mon, 19 Oct 2020 13:41:50 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=91=20mini=20=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/background.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/background.js b/src/background.js index e1bf182..dcf899f 100644 --- a/src/background.js +++ b/src/background.js @@ -50,6 +50,7 @@ function createMini () { resizable: true, webPreferences: { webSecurity: false, + enableRemoteModule: true, nodeIntegration: process.env.ELECTRON_NODE_INTEGRATION } })