fix(stage-tamagotchi): open devtools for beat sync in detach mode

This commit is contained in:
Makito
2026-04-14 00:57:38 +09:00
parent ecebccc911
commit 1744ceaa06
+1 -1
View File
@@ -211,7 +211,7 @@ export function setupTray(params: {
...is.dev || env.MAIN_APP_DEBUG || env.APP_DEBUG
? [
{ type: 'header', label: params.i18n.t('tamagotchi.electron.tray.menu.labels.label.devtools') },
{ label: params.i18n.t('tamagotchi.electron.tray.menu.labels.label.troubleshoot_beatsync'), click: () => params.beatSyncBgWindow.webContents.openDevTools() },
{ label: params.i18n.t('tamagotchi.electron.tray.menu.labels.label.troubleshoot_beatsync'), click: () => params.beatSyncBgWindow.webContents.openDevTools({ mode: 'detach' }) },
{ type: 'separator' },
] as const
: [],