Skip to content
0

安装与更新

仓库地址Miao-Plugin

fork版安装指令

⚠️meta资源外置

最新版本中已移除meta资源,首次安装插件需下载meta资源(或启动Yunzai即可自动安装)

CNB源下载(暂无其他源):

bash
git clone -b meta-gs https://cnb.cool/qsyhh_res/meta.git "./plugins/miao-plugin/resources/meta-gs" --depth=1
git clone -b meta-sr https://cnb.cool/qsyhh_res/meta.git "./plugins/miao-plugin/resources/meta-sr" --depth=1
如何兼容? 点击此处展开/收起

示例js:Yunzai/plugins/example-plugin/apps/example.js

bash
监听事件错误:login.js
Error: ENOENT: no such file or directory, scandir 'Yunzai\plugins\miao-plugin\resources\meta-gs\character'
    at Object.readdirSync (node:fs:1502:26)
    at Object.init (file:///C:/Yunzai/example-plugin/apps/example.js:13:20)
JavaScript
import { installPromise } from "../../../miao-plugin/installMeta.js"

await installPromise() // 报错行上行写入

gitee(深测源)

暂不提供地址

GitCode(内测源)

首先前往token-classic获取个人令牌

方式1: 首次/重新安装插件:

bash
git clone --depth=1 https://用户名:个人令牌@gitcode.com/qsyhh_code/miao-plugin.git ./plugins/miao-plugin/ --depth=1
pnpm install --filter=miao-plugin

GitHub(稳定源)

方式1: 首次/重新安装插件:

bash
git clone --depth=1 https://github.com/qsyhh/miao-plugin.git ./plugins/miao-plugin/ --depth=1
pnpm install --filter=miao-plugin

gitee

危险

由于不可抗力因素,gitee仓库被判定违规,建议使用github

手工下载安装(不推荐)

手工下载安装包,解压后将miao-plugin-master更名为miao-plugin,然后放置在Yunzai的plugins目录内

虽然此方式能够使用,但无法使用#喵喵更新进行更新,不利于后续升级,故不推荐使用

后续更新

安装完毕后,管理员只需发送 #喵喵更新 即可自动更新 miao-plugin。

最近更新