haruka-bot-安装教程

发布时间 2023-07-17 18:11:23作者: cliter

安装 go-cqhttp

根据 haruka-bot 文档下载并配置 go-cqhttp

如果运行 go-cqhttp 提示错误代码 45

  1. 提取QQ安卓安装包里的文件 libfekit.solibQSec.so

    com.tencent.mobileqq.apk 重命名为 com.tencent.mobileqq.zip,解压,将 lib/arm64-v8a 里面的 libfekit.solibQSec.so 放到一个新文件夹 test

  2. 获取安卓手机的 android device id

    下载安装谷歌商店的 device id for android,获取 android device id

  3. 下载解压 unidbg-fetch-qsign,将第一步的新文件夹 test 放到 bin 目录下,并在 bin 目录下新建命令行窗口,运行命令 unidbg-fetch-qsign.bat --host=0.0.0.0 --port=9999 --count=2 --library=test --android_id=你的android_id

  4. 回到 go-cqhttp 目录下,修改 config.yml

    sign-server: 'http://127.0.0.1:9999'
    
  5. 重新运行 go-cqhttp,可以进行登录

安装 haruka-bot

根据 haruka-bot 文档安装