diff --git a/src-main/app-menu.ts b/src-main/app-menu.ts index e5cae813..80094e27 100644 --- a/src-main/app-menu.ts +++ b/src-main/app-menu.ts @@ -453,6 +453,7 @@ export function initOrUpdateAppMenu() { label: 'Developer Tools', accelerator: is.macos ? 'Command+Alt+I' : 'Control+Shift+I', click() { + getMainWindow().webContents.openDevTools({ mode: 'detach' }) const selectedAccountView = getSelectedAccountView() if (selectedAccountView) { selectedAccountView.webContents.openDevTools()