修复内存扫描问题

This commit is contained in:
cc
2026-03-02 20:30:38 +08:00
parent b07bbd68d7
commit 366da8d38e
7 changed files with 346 additions and 62 deletions

View File

@@ -67,6 +67,7 @@ export interface ElectronAPI {
key: {
autoGetDbKey: () => Promise<{ success: boolean; key?: string; error?: string; logs?: string[] }>
autoGetImageKey: (manualDir?: string, wxid?: string) => Promise<{ success: boolean; xorKey?: number; aesKey?: string; error?: string }>
scanImageKeyFromMemory: (userDir: string) => Promise<{ success: boolean; xorKey?: number; aesKey?: string; error?: string }>
onDbKeyStatus: (callback: (payload: { message: string; level: number }) => void) => () => void
onImageKeyStatus: (callback: (payload: { message: string }) => void) => () => void
}