mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 21:27:41 +02:00
Add action.sh
for user to manually trigger modules' functionality from app
This commit is contained in:
@ -189,6 +189,13 @@ printvar() {
|
||||
eval echo $1=\$$1
|
||||
}
|
||||
|
||||
run_action() {
|
||||
local MODID="$1"
|
||||
cd "/data/adb/modules/$MODID"
|
||||
ASH_STANDALONE=1 sh ./action.sh
|
||||
cd /
|
||||
}
|
||||
|
||||
##########################
|
||||
# Non-root util_functions
|
||||
##########################
|
||||
|
Reference in New Issue
Block a user