format
This commit is contained in:
parent
ddfdeee5b0
commit
a3db31b579
@ -7,13 +7,13 @@ function createWindow () {
|
|||||||
width: 800,
|
width: 800,
|
||||||
height: 600,
|
height: 600,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: true
|
nodeIntegration: true,
|
||||||
}
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
win.webContents.on('new-window', function (e, url) {
|
win.webContents.on('new-window', function (e, url) {
|
||||||
e.preventDefault();
|
e.preventDefault()
|
||||||
shell.openExternal(url);
|
shell.openExternal(url)
|
||||||
})
|
})
|
||||||
|
|
||||||
// The starting point of the app
|
// The starting point of the app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user