fix:修复了清除缓存功能的缺失

This commit is contained in:
xuncha committed 2026-01-17 02:45:10 +08:00
1 parent afa3e089b1
commit 095c8f0db6
9 files changed
+215 -7

No files matched your search

+5
View File
@@ -148,6 +148,11 @@ export interface ElectronAPI {
}>
onProgress: (callback: (payload: { status: string; progress: number }) => void) => () => void
}
cache: {
clearAnalytics: () => Promise<{ success: boolean; error?: string }>
clearImages: () => Promise<{ success: boolean; error?: string }>
clearAll: () => Promise<{ success: boolean; error?: string }>
}
groupAnalytics: {
getGroupChats: () => Promise<{
success: boolean