修复图片解密 修复密钥获取

This commit is contained in:
xuncha
2026-03-02 16:44:09 +08:00
parent fb8663fb24
commit 3d4a79aac6
8 changed files with 32 additions and 14 deletions

View File

@@ -1533,10 +1533,10 @@ function registerIpcHandlers() {
})
})
ipcMain.handle('key:autoGetImageKey', async (event, manualDir?: string) => {
ipcMain.handle('key:autoGetImageKey', async (event, manualDir?: string, wxid?: string) => {
return keyService.autoGetImageKey(manualDir, (message) => {
event.sender.send('key:imageKeyStatus', { message })
})
}, wxid)
})
// HTTP API 服务