From 74d3b4c710cd09cee70003818dee598168dcba1d Mon Sep 17 00:00:00 2001 From: Evan Purkhiser Date: Tue, 29 Dec 2020 03:22:49 -0800 Subject: [PATCH] app: Be kind of insecure with contextIsolation.. will fix later --- src/main/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/main.ts b/src/main/main.ts index c3b34d8..1588e4a 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -35,7 +35,7 @@ const createWindow = () => { height: 900, titleBarStyle: 'hiddenInset', title: 'Prolink Tools', - webPreferences: {nodeIntegration: true}, + webPreferences: {nodeIntegration: true, contextIsolation: false}, }); win.on('closed', () => (win = null));