From db11b9b13bb2f4726d963f42f1dc9b477e8ac3cb Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Thu, 7 Feb 2019 12:38:57 -0800 Subject: [PATCH] fix: restore accidentally removed chrome-extension require (#16819) --- lib/browser/init.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/browser/init.ts b/lib/browser/init.ts index 8010c0ad77c4..f678504cc9ec 100644 --- a/lib/browser/init.ts +++ b/lib/browser/init.ts @@ -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')