🎨
This commit is contained in:
parent
3cdf36c536
commit
dcd832e88c
1 changed files with 1 additions and 3 deletions
|
@ -112,9 +112,7 @@ app.once('ready', () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Toggle Developer Tools',
|
label: 'Toggle Developer Tools',
|
||||||
accelerator: (() => {
|
accelerator: process.platform === 'darwin' ? 'Alt+Command+I' : 'Ctrl+Shift+I',
|
||||||
return (process.platform === 'darwin') ? 'Alt+Command+I' : 'Ctrl+Shift+I'
|
|
||||||
})(),
|
|
||||||
click (item, focusedWindow) {
|
click (item, focusedWindow) {
|
||||||
if (focusedWindow) focusedWindow.toggleDevTools()
|
if (focusedWindow) focusedWindow.toggleDevTools()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue