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)