From ff9b45c9d7f8329fff013f2eeae94477072cee92 Mon Sep 17 00:00:00 2001 From: Alex Hancock Date: Fri, 22 Nov 2024 17:24:39 -0500 Subject: [PATCH] [app] No devtools by default --- ui/desktop/src/main.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/ui/desktop/src/main.ts b/ui/desktop/src/main.ts index 3a6abef3d7..8575372cad 100644 --- a/ui/desktop/src/main.ts +++ b/ui/desktop/src/main.ts @@ -125,13 +125,9 @@ const createChat = (query?: string) => { } // DevTools - if (isDev) { - mainWindow.webContents.openDevTools(); // always in dev - } else { - globalShortcut.register('Alt+Command+I', () => { - mainWindow.webContents.openDevTools(); // key combo in distributed app - }); - } + globalShortcut.register('Alt+Command+I', () => { + mainWindow.webContents.openDevTools(); // key combo in distributed app + }); }; const createTray = () => {