From fcb2e62b3b3cae554b88fa8ce7e635a5ada82061 Mon Sep 17 00:00:00 2001 From: "Jonathan (JB) Belcher" Date: Fri, 7 Feb 2020 13:36:03 -0500 Subject: [PATCH] Fix native menus --- desktop/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop/app.js b/desktop/app.js index 5cf777986..8d045bec5 100644 --- a/desktop/app.js +++ b/desktop/app.js @@ -62,6 +62,7 @@ module.exports = function main() { titleBarStyle: 'hidden', show: false, webPreferences: { + nodeIntegration: true, preload: path.join(__dirname, './preload.js'), }, });