fix: restore accidentally removed chrome-extension require (#16819)

This commit is contained in:
Samuel Attard 2019-02-07 12:38:57 -08:00 committed by GitHub
parent 4989ecc5e0
commit db11b9b13b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,6 +150,9 @@ app.setPath('userData', path.join(app.getPath('appData'), app.getName()))
app.setPath('userCache', path.join(app.getPath('cache'), app.getName()))
app.setAppPath(packagePath)
// Load the chrome devtools support.
require('@electron/internal/browser/chrome-devtools')
// Load the chrome extension support.
require('@electron/internal/browser/chrome-extension')