support of node is added
This commit is contained in:
parent
e40776c47c
commit
0e0ca76947
|
@ -33,7 +33,7 @@ function createWindow() {
|
|||
mainWindow = new BrowserWindow({
|
||||
width: 800,
|
||||
height: 600,
|
||||
webPreferences: { nodeIntegration: false }
|
||||
webPreferences: { nodeIntegration: true }
|
||||
});
|
||||
|
||||
mainWindow.loadURL(
|
||||
|
|
Loading…
Reference in New Issue
Block a user