Wymaganie nie jest definiowane na skrypcie HTML
mainWindow = new BrowserWindow({
webPreferences: {
nodeIntegration: true
}
});
Lydia Bourouais