From 8c556319b90dc33baf03c67323b6e066ede6f374 Mon Sep 17 00:00:00 2001 From: jtc42 Date: Mon, 9 Sep 2019 20:46:42 +0100 Subject: [PATCH] Explicit nodeIntegration: true --- app/app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/app.js b/app/app.js index e9b56f12..3240717a 100644 --- a/app/app.js +++ b/app/app.js @@ -97,7 +97,10 @@ function createWindow() { frame: !store.get('drawCustomTitleBar'), width: 1124, height: 800, - icon: path.join(__dirname, '/icons/png/64x64.png') + icon: path.join(__dirname, '/icons/png/64x64.png'), + webPreferences: { + nodeIntegration: true + } }) // Make a context menu