debugAccelerator: (#471)

- Added the F12 accelerator for Debug->Activate (DevTools) for faster access in Electron. Matches the shortcut for Chrome browsers.
This commit is contained in:
Steven Proctor 2023-04-11 13:10:07 -06:00 committed by GitHub
parent 751fe82f92
commit 561b5cbf75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -369,6 +369,7 @@ function getMenu(window) {
submenu: [ submenu: [
{ {
label: "Activate", label: "Activate",
accelerator: "f12",
click: () => window.webContents.openDevTools(), click: () => window.webContents.openDevTools(),
}, },
{ {