Avoid adding a new option to webPreferences
This commit is contained in:
parent
8f0e594007
commit
31eb793fb0
8 changed files with 8 additions and 28 deletions
|
@ -58,8 +58,6 @@ for (let arg of process.argv) {
|
|||
nodeIntegration = arg.substr(arg.indexOf('=') + 1)
|
||||
} else if (arg.indexOf('--preload=') === 0) {
|
||||
preloadScript = arg.substr(arg.indexOf('=') + 1)
|
||||
} else if (arg.indexOf('--visibility-state=') === 0) {
|
||||
process.visibilityState = arg.substr(arg.indexOf('=') + 1)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue