diff --git a/src/renderer/inbox/components/settings/AutostartSection.tsx b/src/renderer/inbox/components/settings/AutostartSection.tsx index 9e27e4e..509a686 100644 --- a/src/renderer/inbox/components/settings/AutostartSection.tsx +++ b/src/renderer/inbox/components/settings/AutostartSection.tsx @@ -18,6 +18,14 @@ export function AutostartSection(): React.ReactElement { setData(r); } + // Task 24 — 현재 openAtLogin 값으로 다시 setLoginItemSettings 호출 → mismatch 복구. + // (예: registry 누락된 채로 withArgs.openAtLogin=true 인 경우 등.) + async function onReregister(): Promise { + if (!data) return; + const r = await inboxApi.setAutostart(data.openAtLogin); + setData(r); + } + if (data === null) { return
로딩 중...
; } @@ -40,6 +48,14 @@ export function AutostartSection(): React.ReactElement { ⚠️ 등록 상태 불일치 감지 — 진단 정보 확인 후 재등록을 시도하세요. )} +
+ +