feat: 重构数据库登录与路径发现

This commit is contained in:
Wxw-Gu committed 2026-07-17 14:35:53 +08:00
1 parent 7fbd9f3af2
commit 0c1197b7a9
10 files changed
+950 -284

No files matched your search

+3 -1
View File
@@ -261,7 +261,9 @@ declare global {
}>
selectDbRoot: () => Promise<{ canceled: boolean; path?: string }>
openAccountRoot: () => Promise<{ success: boolean; error?: string }>
disconnectDb: () => Promise<{ success: boolean; error?: string }>
disconnectDb: (options?: {
closeNative?: boolean
}) => Promise<{ success: boolean; error?: string }>
apiStatus: () => Promise<{
running: boolean
host: string