From 69778d5dcc324e8fe7b4e1ab643e0450862b5025 Mon Sep 17 00:00:00 2001 From: Jari Kolehmainen Date: Fri, 3 Jul 2020 11:13:53 +0300 Subject: [PATCH] Show devtools always in menu (#559) Signed-off-by: Jari Kolehmainen --- src/main/menu.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/main/menu.ts b/src/main/menu.ts index e670ab5955..82aef3d5fe 100644 --- a/src/main/menu.ts +++ b/src/main/menu.ts @@ -152,16 +152,7 @@ export default function initMenu(opts: MenuOptions, promiseIpc: any) { webContents.getFocusedWebContents().reload() } }, - ...(isDevelopment ? [ - { role: 'toggleDevTools' } as MenuItemConstructorOptions, - { - accelerator: "CmdOrCtrl+Shift+I", - label: 'Open Dashboard Devtools', - click() { - webContents.getFocusedWebContents().openDevTools() - } - } - ] : []), + { role: 'toggleDevTools' }, { type: 'separator' }, { role: 'resetZoom' }, { role: 'zoomIn' },