feat:新增了切换账号的功能

This commit is contained in:
xuncha
2026-01-24 12:39:20 +08:00
parent eb2f90e605
commit 4d647a9467
13 changed files with 300 additions and 86 deletions

View File

@@ -8,6 +8,7 @@ interface ConfigSchema {
onboardingDone: boolean
imageXorKey: number
imageAesKey: string
wxidConfigs: Record<string, { decryptKey?: string; imageXorKey?: number; imageAesKey?: string; updatedAt?: number }>
// 缓存相关
cachePath: string
@@ -40,6 +41,7 @@ export class ConfigService {
onboardingDone: false,
imageXorKey: 0,
imageAesKey: '',
wxidConfigs: {},
cachePath: '',
lastOpenedDb: '',
lastSession: '',