mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: handle shortcuts by default if no WebPreferences object exists (#14766)
DevTools webcontents do not have webpreferences Fixes #14685
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
"productName": "Electron Test",
|
||||
"main": "static/main.js",
|
||||
"version": "0.1.0",
|
||||
"scripts": {
|
||||
"postinstall": "node ../tools/run-if-exists.js node_modules/robotjs node-gyp rebuild"
|
||||
},
|
||||
"devDependencies": {
|
||||
"basic-auth": "^2.0.0",
|
||||
"bluebird": "^3.5.1",
|
||||
@@ -25,5 +28,8 @@
|
||||
"winreg": "^1.2.4",
|
||||
"ws": "^5.2.0",
|
||||
"yargs": "^11.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"robotjs": "^0.5.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user