From a3fc325529f87eab10ae0d71dc2034f920363048 Mon Sep 17 00:00:00 2001 From: YuShifan <894402575bt@gmail.com> Date: Mon, 21 Jun 2021 16:53:15 +0800 Subject: [PATCH] feat(main): set contextIsolation to false --- src/background.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/background.ts b/src/background.ts index 36c102764..142f0b434 100644 --- a/src/background.ts +++ b/src/background.ts @@ -88,6 +88,7 @@ function createWindow() { webSecurity: false, enableRemoteModule: true, nodeIntegration: true, + contextIsolation: false, }, titleBarStyle: isMac ? 'hidden' : 'default', backgroundColor: theme === 'dark' ? '#232323' : '#ffffff',