From f904cdacd88010597840f6e32a6f73ab476cdeec Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 10 Oct 2020 19:22:18 +0200 Subject: [PATCH] Cleanup --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index f436477..43485b0 100644 --- a/src/index.js +++ b/src/index.js @@ -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)