1
0
This commit is contained in:
kolaente
2020-10-08 22:03:36 +02:00
parent ddfdeee5b0
commit a3db31b579

View File

@ -7,13 +7,13 @@ function createWindow () {
width: 800,
height: 600,
webPreferences: {
nodeIntegration: true
}
nodeIntegration: true,
},
})
win.webContents.on('new-window', function (e, url) {
e.preventDefault();
shell.openExternal(url);
e.preventDefault()
shell.openExternal(url)
})
// The starting point of the app