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

Commit

Permalink
Added menu item with shortcut for dev tools in production (#126)
Browse files Browse the repository at this point in the history
* update-create-modal

* update-modal

* fix-lint-issues

* added-menu-item

* refactor: whiteout issue

* Update src/main/index.js

Co-Authored-By: Laurent Thiebault <thiebault.laurent@gmail.com>

* Update src/main/index.js

Co-Authored-By: Laurent Thiebault <thiebault.laurent@gmail.com>

Co-authored-by: Laurent Thiebault <thiebault.laurent@gmail.com>
  • Loading branch information
Fernando B and lauthieb committed Jan 8, 2020
1 parent d546446 commit 176ba34
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ function createWindow() {
selector: 'orderFrontStandardAboutPanel:',
},
{ type: 'separator' },
{
label: 'Toggle dev tools',
accelerator: 'CmdOrCtrl+Shift+I',
click: () => {
mainWindow.toggleDevTools();
},
},
{
label: 'Quit',
accelerator: 'Command+Q',
Expand Down

0 comments on commit 176ba34

Please sign in to comment.