mirror of
https://github.com/Fox2Code/FoxMagiskModuleManager
synced 2024-11-05 00:00:51 +00:00
28 lines
755 B
Bash
28 lines
755 B
Bash
#!/bin/sh
|
|
|
|
if [ -n "$MMM_EXT_SUPPORT" ]; then
|
|
ui_print "#!useExt"
|
|
mmm_exec() {
|
|
ui_print "$(echo "#!$@")"
|
|
}
|
|
else
|
|
mmm_exec() { true; }
|
|
abort "! This module need to be executed in Fox's Magisk Module Manager"
|
|
exit 1
|
|
fi
|
|
|
|
ui_print "- Doing stuff"
|
|
ui_print "- Current state: LOADING"
|
|
mmm_exec showLoading
|
|
sleep 4
|
|
mmm_exec setLastLine "- Current state: LOADING AGAIN"
|
|
sleep 4
|
|
mmm_exec setLastLine "- Current state: LOADED"
|
|
mmm_exec hideLoading
|
|
ui_print "- Doing more stuff"
|
|
sleep 4
|
|
# You can even set youtube links as support links
|
|
# Note: Button only appear once install ended
|
|
mmm_exec setSupportLink "https://youtu.be/dQw4w9WgXcQ"
|
|
ui_print "- Modules installer can also set custom shortcut"
|
|
abort "! Check top right button to see where it goes" |