wxid可以自己选择

This commit is contained in:
xuncha committed 2026-01-31 18:11:55 +08:00
1 parent 014f57f152
commit bfcd154a25
7 files changed
+177 -16

No files matched your search

+1
View File
@@ -71,6 +71,7 @@ contextBridge.exposeInMainWorld('electronAPI', {
dbPath: {
autoDetect: () => ipcRenderer.invoke('dbpath:autoDetect'),
scanWxids: (rootPath: string) => ipcRenderer.invoke('dbpath:scanWxids', rootPath),
scanWxidCandidates: (rootPath: string) => ipcRenderer.invoke('dbpath:scanWxidCandidates', rootPath),
getDefault: () => ipcRenderer.invoke('dbpath:getDefault')
},