This commit is contained in:
kolaente 2020-10-08 22:03:36 +02:00
parent ddfdeee5b0
commit a3db31b579
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 37 additions and 37 deletions

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