-
-
Notifications
You must be signed in to change notification settings - Fork 123
Description
The developer announce a new module template for the upcoming release of APatch.
https://t.me/APatchChannel/118
Below is the announcement.
Due to increasingly aggressive root detection, we aim to move as much capability of the root manager as possible into modules. The original shell-script-based workflow has become too simple and can no longer meet the needs of module development. We are now introducing a new scripting system: by adding Lua scripts, you can call Rust or even C directly from Lua. This allows Lua to invoke system calls, and you can also expose module interfaces in Lua to communicate with other modules. Modules can pass parameters and call each other in any format you define.
apd provides a set of built-in functions for modules to use. You can refer to our official template at
https://github.com/AndroidPatch/Module-Template-Lua/
to start Lua-based module development. You only need to add a module_id.lua file inside your module to enable the new features.
Starting from this commit:
bmax121/APatch@a5a5c4a
we will gradually add more functions to improve the Lua scripting ecosystem. Follow
https://nightly.link/bmax121/APatch/workflows/build/main/APatch
to get the latest build versions.