style check

This commit is contained in:
Araxeus
2021-03-23 22:03:48 +02:00
parent f9c66ead50
commit 7d8afe3476
4 changed files with 8 additions and 9 deletions

View File

@ -93,10 +93,10 @@ function createMainWindow() {
affinity: "main-window", // main window, and addition windows should work in one process
...(isTesting()
? {
// Only necessary when testing with Spectron
contextIsolation: false,
nodeIntegration: true,
}
// Only necessary when testing with Spectron
contextIsolation: false,
nodeIntegration: true,
}
: undefined),
},
frame: !is.macOS() && !config.plugins.isEnabled("styled-bars"),