Merge pull request #6195 from electron/eagerly-require-protocol
Eagerly require protocol
This commit is contained in:
commit
74a2b77359
1 changed files with 3 additions and 0 deletions
|
@ -173,6 +173,9 @@ require('./chrome-extension')
|
||||||
// Load internal desktop-capturer module.
|
// Load internal desktop-capturer module.
|
||||||
require('./desktop-capturer')
|
require('./desktop-capturer')
|
||||||
|
|
||||||
|
// Load protocol module to ensure it is populated on app ready
|
||||||
|
require('./api/protocol')
|
||||||
|
|
||||||
// Set main startup script of the app.
|
// Set main startup script of the app.
|
||||||
var mainStartupScript = packageJson.main || 'index.js'
|
var mainStartupScript = packageJson.main || 'index.js'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue