mirror of https://github.com/jackwener/wx-cli.git
docs: README 安装方式增加 cargo install wx-cli
parent
fa7c99f159
commit
6e599dbe33
|
|
@ -1259,7 +1259,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
|
checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wx"
|
name = "wx-cli"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes",
|
"aes",
|
||||||
|
|
|
||||||
14
README.md
14
README.md
|
|
@ -25,9 +25,17 @@ wx (CLI) ──Unix socket──▶ wx-daemon (后台进程)
|
||||||
- WeChat 4.x(macOS 版)
|
- WeChat 4.x(macOS 版)
|
||||||
- 首次使用需 `sudo`(内存扫描)
|
- 首次使用需 `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/
|
sudo mv wx /usr/local/bin/
|
||||||
```
|
```
|
||||||
|
|
||||||
### 从源码构建
|
**方式三:从源码构建**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone git@github.com:jackwener/wx-cli.git
|
git clone git@github.com:jackwener/wx-cli.git
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue