Eagerly require protocol

This commit is contained in:
Kevin Sawicki 2016-06-22 18:51:39 -07:00
parent 56b3478760
commit 5a122b5ea0

View file

@ -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'