From 9d9509a26bcf9e6b32779dd6551f1085539f2555 Mon Sep 17 00:00:00 2001 From: chashaochang <1139396584@qq.com> Date: Sat, 21 Mar 2026 20:52:09 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20README=20=E5=A2=9E=E5=8A=A0=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=99=A8=20git=20pull=20=E6=9B=B4=E6=96=B0=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Made-with: Cursor --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 150cfb3..714e00c 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,17 @@ 无浏览器依赖,使用 `curl_cffi` 模拟 Chrome TLS 指纹。 +## 服务器上更新代码 + +本仓库已接 **Git**(勿把 `accounts/oauth/*.json`、`.env` 提交进库,见 `.gitignore`)。 + +```bash +cd /path/to/protocol_chatgpt +git pull origin main +.venv/bin/pip install -r requirements.txt # 依赖有变时 +# 维护台若用 systemd,改代码后: sudo systemctl restart <你的服务名> +``` + ## 安装 ```bash