This commit is contained in:
kolaente 2020-10-10 19:22:18 +02:00
parent 98f74bf031
commit f904cdacd8
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ function createWindow() {
},
})
// Remove external links in the browser
win.webContents.on('new-window', function (e, url) {
e.preventDefault()
shell.openExternal(url)