format
This commit is contained in:
parent
ddfdeee5b0
commit
a3db31b579
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user