跳至主要內容

安卓云崽安装

锐毅教程应用云崽教程云崽Android小于 1 分钟

安装Termux

https://f-droid.org/repo/com.termux_118.apkopen in new window

安装 Alpine Linux

pkg install proot-distro
proot-distro install alpine
proot-distro login alpine

安装喵崽需要的软件包

echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories
apk add nodejs npm redis git chromium wqy-zenhei

安装喵崽

git clone https://github.com/Le-niao/Yunzai-Bot.git
git clone https://github.com/yoimiya-kokomi/miao-plugin.git ./Yunzai-Bot/plugins/miao-plugin/
cd ./Yunzai-Bot/
npm install

修改喵崽配置

sed -i s#\/\/\ executablePath:\'\'#executablePath:\'chromium-browser\'#g ./lib/render.js
cp ./config/config_default.js ./config/config.js
nano ./config/config.js

保存喵崽配置和运行

保存组合键:CTRL + O + 回车
退出组合键:CTRL + X

redis-server --save 900 1 --save 300 10 --daemonize yes
node app