You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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()--重新载入脚本
②内置脚本代码编辑器
Activity
only52607 commentedon Jun 25, 2022
目前在控制台上以插件形式使用lua-mirai支持重载操作。但安卓版本的lua-mirai的重构还需要一段时间,可以先尝试一下在Android的控制台(比如termux)上使用lua-mirai哦。
HelloMitsuha commentedon Jun 25, 2022
好的,谢谢哈。