use the send-to-link function

This commit is contained in:
arc-alex
2024-01-02 15:57:14 +01:00
parent 7fcf8153af
commit a719f5827e
2 changed files with 10 additions and 7 deletions
-5
View File
@@ -138,11 +138,6 @@ function createWindow() {
});
win.setMenu(null);
win.webContents.setWindowOpenHandler(({ url }) => {
shell.openExternal(url);
return { action: 'deny' };
});
}
app.disableHardwareAcceleration();