feat: work without any nodeIntegration requirements
This commit is contained in:
parent
986f762ae1
commit
2b8e506f5a
3 changed files with 15 additions and 6 deletions
|
@ -4,7 +4,6 @@ const app = electron.app;
|
|||
app.on('ready', function () {
|
||||
const mainWindow = new electron.BrowserWindow({
|
||||
webPreferences: {
|
||||
nodeIntegration: true,
|
||||
webviewTag: true
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue