support of node is added

This commit is contained in:
병준 박 2019-05-13 02:18:04 +09:00
parent e40776c47c
commit 0e0ca76947

View File

@ -33,7 +33,7 @@ function createWindow() {
mainWindow = new BrowserWindow({
width: 800,
height: 600,
webPreferences: { nodeIntegration: false }
webPreferences: { nodeIntegration: true }
});
mainWindow.loadURL(