Update to Electron 5
This commit is contained in:
@@ -24,6 +24,9 @@ function init () {
|
||||
skipTaskbar: true,
|
||||
title: 'About ' + config.APP_WINDOW_TITLE,
|
||||
useContentSize: true,
|
||||
webPreferences: {
|
||||
nodeIntegration: true
|
||||
},
|
||||
width: 300
|
||||
})
|
||||
|
||||
|
||||
@@ -43,6 +43,9 @@ function init (state, options) {
|
||||
titleBarStyle: 'hiddenInset', // Hide title bar (Mac)
|
||||
useContentSize: true, // Specify web page size without OS chrome
|
||||
width: initialBounds.width,
|
||||
webPreferences: {
|
||||
nodeIntegration: true
|
||||
},
|
||||
x: initialBounds.x,
|
||||
y: initialBounds.y
|
||||
})
|
||||
|
||||
@@ -25,6 +25,9 @@ function init () {
|
||||
skipTaskbar: true,
|
||||
title: 'webtorrent-hidden-window',
|
||||
useContentSize: true,
|
||||
webPreferences: {
|
||||
nodeIntegration: true
|
||||
},
|
||||
width: 150
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user