update doc

This commit is contained in:
yincong
2026-01-20 11:27:16 +08:00
parent 2fd0611e78
commit f8b913e5e6
+4 -3
View File
@@ -3,9 +3,10 @@
### 使用方式和脚本基本一致:
1. 编译main.go或者直接下载编译好的onebot二进制文件
2. 如果不想关闭SIP直接使用,需要找到自己的图片位置:./onebot -type=gadget -image_path='/Users/xx/Library/Containers/com.tencent.xinWeChat/Data/Documents/xwechat_files/wxid_xxx/temp/xxx/2026-01/Img/'
3. 发送一张图片,如果失败证明已经patch成功,可以正常使用。
4. 启动onebot服务,默认监听127.0.0.1:58080,可以通过http接口发送消息
5. 会把收到的消息通过 http://127.0.0.1:36060/onebot 其他参数可用./onebot -h查看
3. 如果关闭了SIP 直接使用pid即可,./onebot -wechat_pid=18835 -image_path='/Users/xxx/Library/Containers/com.tencent.xinWeChat/Data/Documents/xwechat_files/wxid_xxx/temp/xxx/2026-01/Img/'
4. 发送一张图片,如果失败证明已经patch成功,可以正常使用
5. 启动onebot服务,默认监听127.0.0.1:58080,可以通过http接口发送消息。
6. 会把收到的消息通过 http://127.0.0.1:36060/onebot 其他参数可用./onebot -h查看
### 接口信息