Skip to content

安装插件

字数
337 字
阅读时间
2 分钟

获取源码

使用 Git 克隆(推荐)

机器人目录下打开终端执行

Yunzai

sh
git clone --depth=1 https://github.com/ikenxuan/kkkkkk-10086.git ./plugins/kkkkkk-10086/
sh
git clone --depth=1 https://ghp.ci/https://github.com/ikenxuan/kkkkkk-10086.git ./plugins/kkkkkk-10086/
sh
git clone --depth=1 https://gitee.com/ikenxuan/kkkkkk-10086.git ./plugins/kkkkkk-10086/

Karin

Karin 框架文档: https://karinjs.github.io/Karin
Karin 用户 务必使用 以下的命令安装,否则插件可能不会被识别

sh
git clone --depth=1 https://github.com/ikenxuan/kkkkkk-10086.git ./plugins/karin-plugin-kkkkkk-10086/
sh
git clone --depth=1 https://ghp.ci/https://github.com/ikenxuan/kkkkkk-10086.git ./plugins/karin-plugin-kkkkkk-10086/
sh
git clone --depth=1 https://gitee.com/ikenxuan/kkkkkk-10086.git ./plugins/karin-plugin-kkkkkk-10086/

使用 Release 发行版(不推荐)

点击展开

不推荐该方式,后续无法通过 Git 进行更新

  1. 打开 Release 页面: https://github.com/ikenxuan/kkkkkk-10086/releases
  2. 找到最新的版本,下载后缀名为 .zip 的压缩包
  3. 机器人根目录/plugins/ 中解压该压缩包
  4. 完成后插件应在 机器人根目录/plugins/kkkkkk-10086/
    Karin 则为 机器人目录/plugins/karin-plugin-kkkkkk-10086/

你可以在此处查看发布过的所有版本: 版本历史

安装依赖

二选一

  1. 根目录下执行
sh
pnpm install --filter=kkkkkk-10086
  1. 插件目录下执行
sh
cd plugins/kkkkkk-10086
pnpm install -P
框架
相关链接
Copyright 2023 - 2024 ikenxuan . All Rights Reserved