Skip to content

脚本方面的建议 #7

Open
Open

Description

@HelloMitsuha

Is your feature request related to a problem? Please describe.
我在做脚本的时候经常需要reload,但是需要回去手动开关,而且脚本位置在内置数据目录("/data/data/com.ooooonly.lma/flies/scripts"),需要root权限才能编辑,而且以数字命名,不易分辨

Describe the solution you'd like
①重载脚本
实时检测(不太现实)
②脚本位置以及编辑
可以尝试转移外置存储(如"/sdcard/LuaMirai/scripts/"),并不使用随机数字命名(建议在添加脚本时让用户自行为文件取名)

Describe alternatives you've considered
①为脚本提供新代码:reload()--重新载入脚本
②内置脚本代码编辑器

Additional context

Activity

  1. only52607 commented on Jun 25, 2022

    @only52607
    Owner

    目前在控制台上以插件形式使用lua-mirai支持重载操作。但安卓版本的lua-mirai的重构还需要一段时间,可以先尝试一下在Android的控制台(比如termux)上使用lua-mirai哦。

  2. HelloMitsuha commented on Jun 25, 2022

    @HelloMitsuha
    Author

    好的,谢谢哈。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions