mirror of https://github.com/jackwener/wx-cli.git
docs: Updated configuration instructions to automatically detect the WeChat data directory and generate config.json.
parent
2fa95b283f
commit
bf68409c39
|
|
@ -40,13 +40,9 @@ pip install pycryptodome
|
||||||
|
|
||||||
### 1. 配置
|
### 1. 配置
|
||||||
|
|
||||||
复制配置模板并修改:
|
首次运行任意脚本时,程序会自动检测微信数据目录并生成 `config.json`,无需手动配置。
|
||||||
|
|
||||||
```bash
|
如果自动检测失败(例如微信安装在非默认位置),手动创建 `config.json`:
|
||||||
copy config.example.json config.json
|
|
||||||
```
|
|
||||||
|
|
||||||
编辑 `config.json`:
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"db_dir": "D:\\xwechat_files\\你的微信ID\\db_storage",
|
"db_dir": "D:\\xwechat_files\\你的微信ID\\db_storage",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue