安装 go-cqhttp
根据 haruka-bot 文档下载并配置 go-cqhttp
如果运行 go-cqhttp 提示错误代码 45
提取QQ安卓安装包里的文件 libfekit.so 和 libQSec.so
将 com.tencent.mobileqq.apk 重命名为 com.tencent.mobileqq.zip,解压,将 lib/arm64-v8a 里面的 libfekit.so 和 libQSec.so 放到一个新文件夹 test
获取安卓手机的 android device id
下载安装谷歌商店的 device id for android,获取 android device id
下载解压 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
回到 go-cqhttp 目录下,修改 config.yml
sign-server: 'http://127.0.0.1:9999'
重新运行 go-cqhttp,可以进行登录
安装 haruka-bot
根据 haruka-bot 文档安装