Bump electron to v10 (+ remove devtron, bump spectron)

This commit is contained in:
TC
2020-10-04 17:39:18 +02:00
parent 97dce5ad41
commit 5f0dcbb3fc
4 changed files with 559 additions and 658 deletions

View File

@ -55,6 +55,7 @@ function createMainWindow() {
nodeIntegration: isTesting(), // Only necessary when testing with Spectron
preload: path.join(__dirname, "preload.js"),
nativeWindowOpen: true, // window.open return Window object(like in regular browsers), not BrowserWindowProxy
enableRemoteModule: true,
affinity: "main-window", // main window, and addition windows should work in one process
},
frame: !is.macOS(),