Merge branch '1-0-release'
This commit is contained in:
commit
064af6ecb2
6 changed files with 10 additions and 10 deletions
|
@ -133,7 +133,7 @@ app.once('ready', function () {
|
|||
init = BrowserWindow.prototype._init
|
||||
BrowserWindow.prototype._init = function () {
|
||||
init.call(this)
|
||||
return this.on('devtools-opened', function () {
|
||||
return this.webContents.on('devtools-opened', () => {
|
||||
return this._loadDevToolsExtensions(Object.keys(extensionInfoMap).map(function (key) {
|
||||
return extensionInfoMap[key]
|
||||
}))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue