已解决 Windows PC更新指令不确定
-
检查到有更新,但是输入./mcl -u提示无指令
22:28:38 [INFO] Verifying "net.mamoe:mirai-console" v2.12.3 22:28:38 [WARN] Package "net.mamoe:mirai-console" has newer version "2.13.0-RC2" 22:28:38 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.12.3 22:28:38 [WARN] Package "net.mamoe:mirai-console-terminal" has newer version "2.13.0-RC2" 22:28:38 [INFO] Verifying "net.mamoe:mirai-core-all" v2.12.3 22:28:38 [WARN] Package "net.mamoe:mirai-core-all" has newer version "2.13.0-RC2" 22:28:38 [INFO] Verifying "org.itxtech:mcl-addon" v2.0.2 22:29:08 [WARN] Run ./mcl -u to update packages.
以上为更新检测
./mcl -u 2022-10-31 22:30:13 W/console: 未知指令: /./mcl -u, 输入 ? 获取帮助 > u 2022-10-31 22:32:51 W/console: 未知指令: /u, 输入 ? 获取帮助 > -u 2022-10-31 22:32:54 W/console: 未知指令: /-u, 输入 ? 获取帮助
输入后反馈如上。
顺便一提,/mcl run updater ```结果和自检更新一致
-
你需要在 命令行环境下 使用指令
/mcl -u
例如 在文件夹中shift+鼠标右键
打开菜单栏,打开powshell 或者 cmd 然后使用指令 /mcl -umcl.cmd
本来就不是为了双击启动而制作的
只不过Windows 会将双击
理解为./mcl
指令,帮你自动执行了而已 -
在启动脚本之前输入参数命令行以进行更新
-
-
@Mr-喜 可是老哥,什么叫做启动脚本之前呢,打开mcl控制台之后就一直到它自动完成所有预置工作我都无法输入内容
-
@Maaxx 尝试使用cmd powershell等命令行终端进行操作
-
你需要在 命令行环境下 使用指令
/mcl -u
例如 在文件夹中shift+鼠标右键
打开菜单栏,打开powshell 或者 cmd 然后使用指令 /mcl -umcl.cmd
本来就不是为了双击启动而制作的
只不过Windows 会将双击
理解为./mcl
指令,帮你自动执行了而已 -
-
-
PS D:\mcl> .\mcl -u
11:00:25 [INFO] iTX Technologies Mirai Console Loader version 2.1.2-61c8bd8
11:00:25 [INFO] Runtime: Java HotSpot(TM) 64-Bit Server VM 17.0.7 (arch: 64)
11:00:25 [INFO] https://github.com/iTXTech/mirai-console-loader
11:00:25 [INFO] This program is licensed under GNU AGPL v3
11:00:26 [INFO] Mirai Console Loader Announcement:
Mirai Console Loader 公告栏如果在图片上传的时候遇到问题请与我们联系 (需要提供图片文件源本)
- 如 Unsupported image type for ExternalResource *
considering use gif/png/bmp/jpg format.
`- Tracker: https://github.com/mamoe/mirai/issues/new/choose常用资源整合
`- https://mirai.mamoe.net/topic/653MCL 已推出 2.1.0,更好的支持 Mirai 2.11 的插件系统,建议更新。
11:00:26 [INFO] Verifying "org.bouncycastle:bcprov-jdk15on" v1.65.01
11:00:26 [WARN] Failed to parse version "1.46" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.47" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.48" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.49" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.50" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.51" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.52" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.53" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.54" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.55" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.56" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.57" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.58" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.59" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.60" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.61" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.62" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.63" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.64" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.65" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.66" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.67" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.68" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.69" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [WARN] Failed to parse version "1.70" for "org.bouncycastle:bcprov-jdk15on"
11:00:26 [INFO] Verifying "net.mamoe:mirai-console" v2.15.0
11:00:26 [WARN] Package "net.mamoe:mirai-console" has newer version "2.16.0-RC"
11:00:26 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.15.0
11:00:26 [WARN] Package "net.mamoe:mirai-console-terminal" has newer version "2.16.0-RC"
11:00:26 [INFO] Verifying "net.mamoe:mirai-core-all" v2.15.0
11:00:27 [WARN] Package "net.mamoe:mirai-core-all" has newer version "2.16.0-RC"
11:00:27 [INFO] Verifying "net.mamoe:mirai-api-http" v2.9.1
11:00:27 [INFO] Verifying "org.itxtech:mcl-addon" v2.1.1
11:00:27 [INFO] Verifying "xyz.cssxsh.mirai:mirai-device-generator" v1.3.0
11:00:27 [INFO] Verifying "net.mamoe:chat-command" v0.6.0
11:00:27 [INFO] Verifying "xyz.cssxsh:bilibili-helper" v1.7.3
11:00:27 [INFO] Verifying "xyz.cssxsh:weibo-helper" v1.6.2
11:00:27 [INFO] Verifying "io.github.gnuf0rce:github-helper" v1.4.1
11:00:27 [INFO] Verifying "xyz.cssxsh.mirai:mirai-administrator" v1.4.3
11:00:27 [WARN] Run ./mcl -u to update packages.
2023-09-05 11:00:30 I/main: Starting mirai-console...在命令行输入更新指令后没有进行更新直接进行启动
-
@only神韵 因为昨天推了一个版本叫2.16.0-RC,如果非必要更新可以忽略
-
@Mr-喜 我是想更新的,但是输入更新指令后就像上面的日志里一样,只是报了有更新就直接进入程序了,没有执行更新操作。想问问是什么地方设置的有问题。
-
@only神韵 看起来异常的点就是
org.bouncycastle:bcprov-jdk15on
这个库了 试试先把它从config里删除或者调换一下顺序 -
@Maaxx Mirai控制台是mclx update,.\mcl -u是你还没有启动时运行的