代码拉取完成,页面将自动刷新
config.js
- 通过命令行传入配置updater.js
- 用于校验和下载mirai
文件boot.js
- 用于启动mirai console
repo.js
- 用于获取mirai repo
仓库中的信息Mirai Native
.\mcl --update-package org.itxtech:mirai-native --type plugin --channel stable
Chat Command
.\mcl --update-package net.mamoe:chat-command --type plugin --channel stable
mirai-console
版本(指定的版本必须为该Channel
中存在的版本).\mcl --update-package net.mamoe:mirai-console --channel stable --version 1.0.0
updater
脚本.\mcl --disable-script updater
updater
脚本.\mcl --enable-script updater
.\mcl --dry-run
PS > .\mcl -h
usage: mcl
-a,--update-package <PackageName> Add or update package
-b,--show-boot-props Show Mirai Console boot properties
-c,--log-level <level> Set log level
-d,--disable-script <ScriptName> Disable script (exclude ".js")
-e,--enable-script <ScriptName> Enable script (exclude ".js")
-f,--set-boot-entry <EntryClass> Set Mirai Console boot entry
-g,--set-boot-args <Arguments> Set Mirai Console boot arguments
-i,--package-info <PackageName> Fetch info for specified package
-j,--list-repo-packages List available packages in Mirai Repo
-l,--list-disabled-scripts List disabled scripts
-m,--set-mirai-repo <Address> Set Mirai Repo address
-n,--channel <Channel> Set update channel of package
-o,--show-repos Show Mirai Repo and Maven Repo
-p,--proxy <address> Set HTTP proxy
-r,--remove-package <PackageName> Remove package
-s,--list-packages List configured packages
-t,--type <Type> Set type of package
-u,--disable-update Disable auto update
-v,--set-maven-repo <Address> Set Maven Repo address
-w,--version <Version> Set version of package
-x,--force-version Force download specified version
-z,--dry-run Skip boot phase
Copyright (C) 2020 iTX Technologies
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。