mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-13 03:13:47 +00:00
open using external browser
This commit is contained in:
@@ -138,6 +138,11 @@ function createWindow() {
|
||||
});
|
||||
|
||||
win.setMenu(null);
|
||||
|
||||
win.webContents.setWindowOpenHandler(({ url }) => {
|
||||
shell.openExternal(url);
|
||||
return { action: 'deny' };
|
||||
});
|
||||
}
|
||||
|
||||
app.disableHardwareAcceleration();
|
||||
|
||||
Reference in New Issue
Block a user