From 6f27985aa8fda4b2831ff37598e6f3c2debfca7d Mon Sep 17 00:00:00 2001 From: Makito Date: Sun, 12 Oct 2025 03:08:10 +0900 Subject: [PATCH] fix(stage-tamagotchi): open DevTools in 'detach' mode on dev startup --- apps/stage-tamagotchi/src/main/windows/main/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/stage-tamagotchi/src/main/windows/main/index.ts b/apps/stage-tamagotchi/src/main/windows/main/index.ts index b152861c7..64f724e62 100644 --- a/apps/stage-tamagotchi/src/main/windows/main/index.ts +++ b/apps/stage-tamagotchi/src/main/windows/main/index.ts @@ -50,7 +50,7 @@ export async function setupMainWindow(params: { // NOTICE: in development mode, open devtools by default if (is.dev) { try { - window.webContents.openDevTools() + window.webContents.openDevTools({ mode: 'detach' }) } catch (err) { console.error('failed to open devtools:', err)