This commit is contained in:
Kevin Sawicki 2016-06-21 09:38:35 -07:00
parent 3cdf36c536
commit dcd832e88c

View file

@ -112,9 +112,7 @@ app.once('ready', () => {
},
{
label: 'Toggle Developer Tools',
accelerator: (() => {
return (process.platform === 'darwin') ? 'Alt+Command+I' : 'Ctrl+Shift+I'
})(),
accelerator: process.platform === 'darwin' ? 'Alt+Command+I' : 'Ctrl+Shift+I',
click (item, focusedWindow) {
if (focusedWindow) focusedWindow.toggleDevTools()
}