MiraiForum

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

    Mirai在无桌面环境下运行

    开发交流
    3
    5
    202
    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.
    • S
      SLiGe last edited by

      在linux服务器中运行mirai会提示无法通过滑块验证的问题,
      如果不是异地的话,应该能正常登录吧?

      1 Reply Last reply Reply Quote 0
      • RainChan
        RainChan 大嗨客 last edited by

        更多时候取决于设备信息文件

        S 1 Reply Last reply Reply Quote 0
        • S
          SLiGe @RainChan last edited by

          @rainchan 设备信息文件指的是deviceinfo.json ?

          1 Reply Last reply Reply Quote 0
          • Him188
            Him188 last edited by

            建议先在本地登录, 然后把 device.json 上传到服务器

            val bot = BotFactory.newBot(...) {
                fileBasedDeviceInfo()
            }
            

            https://github.com/mamoe/mirai/blob/dev/docs/Bots.md#设备信息

            S 1 Reply Last reply Reply Quote 0
            • S
              SLiGe @Him188 last edited by

              @him188 好的谢谢:blush:

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