Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.

Commit 176ba34

Browse files
Fernando Blauthieb
andcommitted
Added menu item with shortcut for dev tools in production (#126)
* update-create-modal * update-modal * fix-lint-issues * added-menu-item * refactor: whiteout issue * Update src/main/index.js Co-Authored-By: Laurent Thiebault <[email protected]> * Update src/main/index.js Co-Authored-By: Laurent Thiebault <[email protected]> Co-authored-by: Laurent Thiebault <[email protected]>
1 parent d546446 commit 176ba34

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ function createWindow() {
4444
selector: 'orderFrontStandardAboutPanel:',
4545
},
4646
{ type: 'separator' },
47+
{
48+
label: 'Toggle dev tools',
49+
accelerator: 'CmdOrCtrl+Shift+I',
50+
click: () => {
51+
mainWindow.toggleDevTools();
52+
},
53+
},
4754
{
4855
label: 'Quit',
4956
accelerator: 'Command+Q',

0 commit comments

Comments
 (0)