Skip to content

Commit f66827c

Browse files
author
luoqiz
committed
feat: 跟随主版本升级
1 parent d8af63b commit f66827c

7 files changed

Lines changed: 60 additions & 39 deletions

File tree

README.md

Lines changed: 58 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# WeChatFerry HTTP 客户端(基于 Rust)
2+
23
又一个 [WeChatFerry](https://github.com/lich0821/WeChatFerry) 的 HTTP 客户端。[🙋 FAQ](https://mp.weixin.qq.com/s/YvgFFhF6D-79kXDzRqtg6w)
34

45
<details><summary><font color="#FF0000" size="5">免责声明【必读】</font></summary>
@@ -17,45 +18,47 @@
1718

1819
<details><summary>点击查看功能清单</summary>
1920

20-
* 查询登录状态
21-
* 获取登录账号信息
22-
* 获取消息类型
23-
* 获取联系人
24-
* 获取可查询数据库
25-
* 获取数据库所有表
26-
* 获取语音消息
27-
* 发送文本消息(可 @)
28-
* 发送图片消息
29-
* 发送文件消息
30-
* 发送卡片消息
31-
* 拍一拍群友
32-
* 转发消息
33-
* 开启接收消息
34-
* 关闭接收消息
35-
* 查询数据库
36-
* 获取朋友圈消息
37-
* 下载图片、视频、文件
38-
* 解密图片
39-
* 添加群成员
40-
* 删除群成员
41-
* 邀请群成员
21+
- 查询登录状态
22+
- 获取登录账号信息
23+
- 获取消息类型
24+
- 获取联系人
25+
- 获取可查询数据库
26+
- 获取数据库所有表
27+
- 获取语音消息
28+
- 发送文本消息(可 @)
29+
- 发送图片消息
30+
- 发送文件消息
31+
- 发送卡片消息
32+
- 拍一拍群友
33+
- 转发消息
34+
- 开启接收消息
35+
- 关闭接收消息
36+
- 查询数据库
37+
- 获取朋友圈消息
38+
- 下载图片、视频、文件
39+
- 解密图片
40+
- 添加群成员
41+
- 删除群成员
42+
- 邀请群成员
4243

4344
</details>
4445

45-
|![碲矿](https://s2.loli.net/2023/09/25/fub5VAPSa8srwyM.jpg)|![赞赏](https://s2.loli.net/2023/09/25/gkh9uWZVOxzNPAX.jpg)|
46-
|:-:|:-:|
47-
|后台回复 `WCF` 加群交流|如果你觉得有用|
46+
| ![碲矿](https://s2.loli.net/2023/09/25/fub5VAPSa8srwyM.jpg) | ![赞赏](https://s2.loli.net/2023/09/25/gkh9uWZVOxzNPAX.jpg) |
47+
| :---------------------------------------------------------: | :---------------------------------------------------------: |
48+
| 后台回复 `WCF` 加群交流 | 如果你觉得有用 |
4849

4950
## 快速开始
50-
>ℹ️ 如果跑过机器人,先将机器人停止,然后退出微信,再开始,以避免奇奇怪怪的问题。
5151

52-
* 安装微信 `3.9.11.25`[这里能找到](https://github.com/lich0821/WeChatFerry/releases/latest)
53-
* 下载 [最新版安装包](https://github.com/lich0821/wcf-client-rust/releases/latest)
54-
* 安装
55-
* 运行
56-
* 启动,按日志提示操作
52+
> ℹ️ 如果跑过机器人,先将机器人停止,然后退出微信,再开始,以避免奇奇怪怪的问题。
53+
54+
- 安装微信 `3.9.12.51`[这里能找到](https://github.com/lich0821/WeChatFerry/releases/latest)
55+
- 下载 [最新版安装包](https://github.com/lich0821/wcf-client-rust/releases/latest)
56+
- 安装
57+
- 运行
58+
- 启动,按日志提示操作
5759

5860
### 回调示例
61+
5962
如果不懂回调,玩这个其实不是很合适。尽管如此,这里还是提供一个示例。
6063

6164
```py
@@ -96,49 +99,65 @@ if __name__ == "__main__":
9699

97100
## 版本更新
98101

102+
### v39.5.1 (2025.04.21)
103+
104+
- 跟随主版本更新
105+
99106
### v39.4.5 (2025.04.10)
100-
* 跟随主版本更新
101-
* 用户信息增加别名
107+
108+
- 跟随主版本更新
109+
- 用户信息增加别名
102110

103111
### v39.4.1 (2025.03.08)
104-
* 跟随主版本更新
112+
113+
- 跟随主版本更新
105114

106115
### v39.3.3-5 (2025.01.26)
107-
* 修复获取群昵称
116+
117+
- 修复获取群昵称
108118

109119
## 一起开发(🚫非开发者不用往下看)
120+
110121
### 搭建开发环境
122+
111123
#### 安装 Rustup
124+
112125
访问 Rust 官方网站,下载并运行 Rustup 的安装程序。
113126

114127
在安装过程中,选择默认配置即可,这将安装最新稳定版本的 Rust,包括 `rustc``cargo``rustup` 自身。
115128

116129
#### 安装 tauri-cli
130+
117131
```sh
118132
cargo install tauri-cli@1.6.5
119133
```
120134

121135
#### 安装 Protoc
136+
122137
下载适用于 Windows 的 `protoc` 二进制文件。
123138

124139
解压到一个目录,并将该目录添加到你的系统环境变量 PATH 中,这样你就可以在命令行中直接运行 `protoc` 命令了。
125140

126141
#### 验证安装
142+
127143
打开命令行或终端,运行以下命令以确认 Rust 和 Cargo 已正确安装:
144+
128145
```sh
129146
rustc --version
130147
cargo --version
131148
protoc --version
132149
```
133150

134151
当前项目开发环境如下:
152+
135153
```txt
136154
rustc 1.75.0 (82e1608df 2023-12-21)
137155
cargo 1.75.0 (1d8b05cdd 2023-11-20)
138156
libprotoc 22.2
139157
```
140158

141159
### 调试运行
160+
142161
```sh
143162
# 启动运行
144163
cargo tauri dev
@@ -148,11 +167,14 @@ RUST_BACKTRACE=full RUST_LOG=debug cargo tauri dev
148167
```
149168

150169
### 验证
170+
151171
点击 `启动`,然后访问 [http://localhost:10010/swagger/](http://localhost:10010/swagger/)
152172

153173
### 定制 Logo
154-
1. 找一张 logo 图片 `your_path/logo.png`(1024*1024 的 PNG 图片)
174+
175+
1. 找一张 logo 图片 `your_path/logo.png`(1024\*1024 的 PNG 图片)
155176
2. 通过命令重新生成:`cargo tauri icon your_path/logo.png`
156177

157178
## 感谢各位大佬贡献代码
179+
158180
<a href="https://github.com/lich0821/wcf-client-rust/graphs/contributors">![](https://contrib.rocks/image?repo=lich0821/wcf-client-rust)</a>

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wcfrust"
3-
version = "39.4.5-0"
3+
version = "39.5.1-0"
44
description = "A HTTP (Rust) client for WeChatFerry"
55
authors = ["Changhua"]
66
license = "MIT"

src-tauri/src/wcferry/lib/sdk.dll

0 Bytes
Binary file not shown.

src-tauri/src/wcferry/lib/spy.dll

1 KB
Binary file not shown.
39.5 KB
Binary file not shown.

src/components.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ declare module 'vue' {
2525
ElMenu: typeof import('element-plus/es')['ElMenu']
2626
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
2727
ElOption: typeof import('element-plus/es')['ElOption']
28-
ElResult: typeof import('element-plus/es')['ElResult']
2928
ElRow: typeof import('element-plus/es')['ElRow']
3029
ElSelect: typeof import('element-plus/es')['ElSelect']
3130
ElSpace: typeof import('element-plus/es')['ElSpace']

0 commit comments

Comments
 (0)