mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-12-01 01:05:30 +08:00
feat: 发送支持群聊@成员
生命周期整理 清理残留整理 完善skill
This commit is contained in:
1 parent
804466aad8
commit
5d4ba73771
28 files changed
+1214
-103
No files matched your search
+11
-3
@@ -1917,7 +1917,11 @@ app.whenReady().then(async () => {
|
||||
recipient,
|
||||
content:
|
||||
request.type === 'text'
|
||||
? { type: 'text', text: String(request.text || '') }
|
||||
? {
|
||||
type: 'text',
|
||||
text: String(request.text || ''),
|
||||
...(request.at ? { at: request.at } : {})
|
||||
}
|
||||
: { type: 'image', path: String(request.filePath || '') }
|
||||
})
|
||||
// 返回契约保持 `PersonalWechatSendResult`,界面判读不用改。
|
||||
@@ -3517,8 +3521,12 @@ app.whenReady().then(async () => {
|
||||
undefined,
|
||||
(targets) => {
|
||||
if (
|
||||
macWechatRuntimeManager.getPort() === 4290 &&
|
||||
targets.some((target) => target.targets.includes('port_4290'))
|
||||
targets.some(
|
||||
(target) =>
|
||||
target.targets.includes('host') ||
|
||||
(macWechatRuntimeManager.getPort() === 4290 &&
|
||||
target.targets.includes('port_4290'))
|
||||
)
|
||||
) {
|
||||
macWechatRuntimeManager.prepareForResidualCleanup()
|
||||
runtimeStopped = true
|
||||
|
||||
Reference in new issue
Block a user