Skip to content

Commit

Permalink
feat: add dev tools in production (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonreshetov committed Mar 2, 2020
1 parent 26b78ea commit ed998b2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/lib/main-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,16 @@ export default mainWindow => {
`
})
}
},
{
type: 'separator'
},
{
label: 'Open Developer Tools',
accelerator: 'Alt+CommandOrControl+I',
click () {
mainWindow.webContents.openDevTools({ mode: 'detach' })
}
}
]
}
Expand Down

0 comments on commit ed998b2

Please sign in to comment.