docs: README 安装方式增加 cargo install wx-cli

pull/2/head
jackwener 2026-04-16 15:29:39 +08:00
parent fa7c99f159
commit 6e599dbe33
2 changed files with 12 additions and 4 deletions

2
Cargo.lock generated
View File

@ -1259,7 +1259,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
[[package]]
name = "wx"
name = "wx-cli"
version = "0.1.0"
dependencies = [
"aes",

View File

@ -25,9 +25,17 @@ wx (CLI) ──Unix socket──▶ wx-daemon (后台进程)
- WeChat 4.xmacOS 版)
- 首次使用需 `sudo`(内存扫描)
### 下载
### 安装
从 [Releases](https://github.com/jackwener/wx-cli/releases) 下载对应平台的预编译二进制:
**方式一cargo install推荐**
```bash
cargo install wx-cli
```
**方式二:下载预编译二进制**
从 [Releases](https://github.com/jackwener/wx-cli/releases) 下载对应平台的文件:
| 平台 | 文件名 |
|------|--------|
@ -43,7 +51,7 @@ chmod +x wx
sudo mv wx /usr/local/bin/
```
### 从源码构建
**方式三:从源码构建**
```bash
git clone git@github.com:jackwener/wx-cli.git