chore(python): bump to v39.5.0.0

This commit is contained in:
Changhua 2025-04-18 00:45:55 +08:00
parent 17fc88ca0c
commit f90c4a7f65
3 changed files with 33 additions and 37 deletions

View File

@ -44,8 +44,8 @@ python -m grpc_tools.protoc --python_out=. --proto_path=../../../WeChatFerry/rpc
## 版本更新
### v39.4.5.0
* 修复发送 XML 功能
### v39.5.0.0
* 适配 `3.9.12.51`。
<details><summary>点击查看更多</summary>
@ -71,7 +71,7 @@ python -m grpc_tools.protoc --python_out=. --proto_path=../../../WeChatFerry/rpc
* 发送图片消息
* 发送文件消息
* 发送卡片消息
* 发送 XML
* 发送 XML 消息
* 发送 GIF 消息
* 拍一拍群友
* 转发消息

View File

@ -1,7 +1,7 @@
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
__version__ = "39.4.5.0"
__version__ = "39.5.0.0"
import atexit
import base64
@ -132,6 +132,7 @@ class Wcf():
self.disable_recv_msg()
self.cmd_socket.close()
self.msg_socket.close()
if self._local_mode and self.sdk and self.sdk.WxDestroySDK() != 0:
self.LOG.error("退出失败!")
@ -537,9 +538,6 @@ class Wcf():
else:
self.msgQ.put(WxMsg(rsp.wxmsg))
# 退出前关闭通信通道
self.msg_socket.close()
if self._is_receiving_msg:
return True
@ -574,8 +572,6 @@ class Wcf():
pass
else:
callback(WxMsg(rsp.wxmsg))
# 退出前关闭通信通道
self.msg_socket.close()
if self._is_receiving_msg:
return True

File diff suppressed because one or more lines are too long