Chrome changed the devtools url
chrome-devtools:// to devtools://
28b21a67f0
This commit is contained in:
parent
aa00b19c92
commit
cf5224140b
13 changed files with 14 additions and 16 deletions
|
@ -50,7 +50,7 @@ const getEditMenuItems = function () {
|
|||
|
||||
const isChromeDevTools = function (pageURL) {
|
||||
const { protocol } = url.parse(pageURL)
|
||||
return protocol === 'chrome-devtools:'
|
||||
return protocol === 'devtools:'
|
||||
}
|
||||
|
||||
const assertChromeDevTools = function (contents, api) {
|
|
@ -154,7 +154,7 @@ if (packageJson.v8Flags != null) {
|
|||
app._setDefaultAppPaths(packagePath)
|
||||
|
||||
// Load the chrome devtools support.
|
||||
require('@electron/internal/browser/chrome-devtools')
|
||||
require('@electron/internal/browser/devtools')
|
||||
|
||||
// Load the chrome extension support.
|
||||
require('@electron/internal/browser/chrome-extension')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue