1
0
This commit is contained in:
kolaente 2020-10-08 22:03:36 +02:00
parent ddfdeee5b0
commit a3db31b579
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B

View File

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