Merge pull request #6195 from electron/eagerly-require-protocol

Eagerly require protocol
This commit is contained in:
Cheng Zhao 2016-06-23 03:31:26 +00:00 committed by GitHub
commit 74a2b77359

View file

@ -173,6 +173,9 @@ require('./chrome-extension')
// Load internal desktop-capturer module.
require('./desktop-capturer')
// Load protocol module to ensure it is populated on app ready
require('./api/protocol')
// Set main startup script of the app.
var mainStartupScript = packageJson.main || 'index.js'