feat: mac发送完整支持4.1.13以上版本, 完善授权

This commit is contained in:
Wxw-Gu committed 2026-11-04 15:49:15 +08:00
1 parent 9db08dba1a
commit 8c162969ff
18 files changed
+1841 -238

No files matched your search

+8
View File
@@ -14,6 +14,8 @@ import type {
SaveGeneratedReportRequest,
UpdateGeneratedReportTemplateRequest
} from '../shared/report-history'
import type { MacLicenseStatus } from '../shared/personal-wechat-mac-license'
import type { MacWechatSendRuntimeAvailabilityResult } from '../shared/personal-wechat-mac-runtime'
import type {
AIChatRequestOptions,
AiSearchExternalAuthorizationRequest,
@@ -585,6 +587,12 @@ const api = {
},
getPersonalWechatSenderStatus: (): Promise<PersonalWechatSenderStatus> =>
ipcRenderer.invoke('wechat-personal:getStatus'),
getMacLicenseStatus: (): Promise<MacLicenseStatus> =>
ipcRenderer.invoke('wechat-personal:getMacLicenseStatus'),
getMacSendRuntimeAvailability: (): Promise<MacWechatSendRuntimeAvailabilityResult> =>
ipcRenderer.invoke('wechat-personal:getMacSendRuntimeAvailability'),
refreshMacLicense: (): Promise<MacLicenseStatus> =>
ipcRenderer.invoke('wechat-personal:refreshMacLicense'),
getPersonalWechatSendCapability: (): Promise<PersonalWechatSendCapability> =>
ipcRenderer.invoke('wechat-personal:getSendCapability'),
checkPersonalWechatSenderStatus: (port?: string): Promise<PersonalWechatSenderStatus> =>