feat: work without any nodeIntegration requirements

This commit is contained in:
Todd Tarsi 2021-05-23 20:09:47 -05:00
parent 986f762ae1
commit 2b8e506f5a
3 changed files with 15 additions and 6 deletions

View file

@ -4,7 +4,6 @@ const app = electron.app;
app.on('ready', function () {
const mainWindow = new electron.BrowserWindow({
webPreferences: {
nodeIntegration: true,
webviewTag: true
}
});