MiraiForum

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

    Mirai-Native无法加载插件,提示缺少json

    使用交流
    mirai-native
    3
    4
    320
    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.
    • B
      BHLuotianyi last edited by

      如题。
      环境:Raspberry os (linux arm64)
      在org.itxtech.mirainative/plugins文件夹下,我有:
      app.json app.release.dll Dice.Driver.CQ.dll Dice.Driver.CQ.json
      其中app.release.dll和app.json均为cqhttps的github release页面下载的最新版本。
      Dice.Driver.CQ.dll则是我需要使用的插件(mirai-dice最新release)

      终端执行:
      winster42@raspberry4b ~/mirai $ ./mcl

      输出为:
      https://paste.ubuntu.com/p/bB4sRtMPhX/

      其中,cqhttp与dice插件均被加载,返回值为-1

      然而我并不能成功执行dice插件的功能指令
      执行npm list:

      共 加 载 了 2 个 Mirai Native 插 件
      Id: 0 标 识 符 : app.release.dll ( JSON文 件 缺 失 ) 状 态 : 已 启 用 已 卸 载
      Id: 1 标 识 符 : Dice.Driver.CQ.dll ( JSON文 件 缺 失 ) 状 态 : 已 启 用 已 卸载

      求解如何使我的mirai-native插件正常运行

      1 Reply Last reply Reply Quote 0
      • MrXiaoM
        MrXiaoM 童心未泯 last edited by

        No X11 DISPLAY variable was set, but this program performed an operation which requires it.
        

        https://mirai.mamoe.net/topic/1836

        1 Reply Last reply Reply Quote 0
        • B
          BHLuotianyi last edited by BHLuotianyi

          @MrXiaoM 因为我是ssh操作的。但是如果我没理解错的话,这只是有关sakura验证码的扫码登陆部分,而我现在已经成功登录。

          Login successful
          

          不再需要这个功能。
          并且,虽然我的系统确实有图形界面,但是我是直接在windows terminal输入ssh命令连接的,这个x11转发是什么玩意。。

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

            如Log所说,这些DLL需要同名的Json。一般提供插件的地方会有此文件提供,可以询问上传者

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