Skip to content

Commit 6f27985

Browse files
committed
fix(stage-tamagotchi): open DevTools in 'detach' mode on dev startup
1 parent e29a5ca commit 6f27985

File tree

1 file changed

+1
-1
lines changed
  • apps/stage-tamagotchi/src/main/windows/main

1 file changed

+1
-1
lines changed

apps/stage-tamagotchi/src/main/windows/main/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export async function setupMainWindow(params: {
5050
// NOTICE: in development mode, open devtools by default
5151
if (is.dev) {
5252
try {
53-
window.webContents.openDevTools()
53+
window.webContents.openDevTools({ mode: 'detach' })
5454
}
5555
catch (err) {
5656
console.error('failed to open devtools:', err)

0 commit comments

Comments
 (0)