MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    Solved Windows PC更新指令不确定

    使用交流
    3
    6
    134
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Maaxx last edited by

      检查到有更新,但是输入./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
      ```结果和自检更新一致
      1 Reply Last reply Reply Quote 0
      • cssxsh
        cssxsh @Maaxx last edited by

        @Maaxx

        你需要在 命令行环境下 使用指令 /mcl -u
        例如 在文件夹中 shift+鼠标右键 打开菜单栏,打开powshell 或者 cmd 然后使用指令 /mcl -u

        mcl.cmd 本来就不是为了双击启动而制作的
        只不过Windows 会将双击理解为 ./mcl 指令,帮你自动执行了而已

        M 1 Reply Last reply Reply Quote 1
        • Mr.喜
          Mr.喜 ⭐2021⭐ last edited by

          在启动脚本之前输入参数命令行以进行更新

          M 1 Reply Last reply Reply Quote 0
          • Topic has been marked as a question  M Maaxx 
          • M
            Maaxx @Mr.喜 last edited by

            @Mr-喜 可是老哥,什么叫做启动脚本之前呢,打开mcl控制台之后就一直到它自动完成所有预置工作我都无法输入内容

            Mr.喜 cssxsh 2 Replies Last reply Reply Quote 0
            • Mr.喜
              Mr.喜 ⭐2021⭐ @Maaxx last edited by

              @Maaxx 尝试使用cmd powershell等命令行终端进行操作

              1 Reply Last reply Reply Quote 0
              • cssxsh
                cssxsh @Maaxx last edited by

                @Maaxx

                你需要在 命令行环境下 使用指令 /mcl -u
                例如 在文件夹中 shift+鼠标右键 打开菜单栏,打开powshell 或者 cmd 然后使用指令 /mcl -u

                mcl.cmd 本来就不是为了双击启动而制作的
                只不过Windows 会将双击理解为 ./mcl 指令,帮你自动执行了而已

                M 1 Reply Last reply Reply Quote 1
                • Topic has been marked as solved  RainChan RainChan 
                • M
                  Maaxx @cssxsh last edited by

                  @cssxsh @Mr-喜 好的谢谢老哥们

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact