mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Merge pull request #6195 from electron/eagerly-require-protocol
Eagerly require protocol
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user