Work around a compiler bug that crashes on Windows
This commit is contained in:
parent
9267004b53
commit
bb10551d23
3 changed files with 13 additions and 4 deletions
|
@ -78,7 +78,7 @@ const startBackgroundPages = function (manifest) {
|
|||
const html = new Buffer(`<html><body>${scripts}</body></html>`)
|
||||
|
||||
const contents = webContents.create({
|
||||
type: 'backgroundPage',
|
||||
isBackgroundPage: true,
|
||||
commandLineSwitches: ['--background-page']
|
||||
})
|
||||
backgroundPages[manifest.extensionId] = { html: html, webContents: contents }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue