feat: 支持开机自启动

This commit is contained in:
digua
2026-04-24 20:50:44 +08:00
committed by digua
parent 2be18adf18
commit c3e165409a
8 changed files with 132 additions and 27 deletions
+2
View File
@@ -213,6 +213,8 @@ interface Api {
getAnalyticsEnabled: () => Promise<boolean>
setAnalyticsEnabled: (enabled: boolean) => Promise<{ success: boolean }>
relaunch: () => Promise<void>
getOpenAtLogin: () => Promise<boolean>
setOpenAtLogin: (enabled: boolean) => Promise<{ success: boolean; error?: string }>
}
}