mirror of
https://github.com/Nezumi-2711/revanced-apk-build.git
synced 2026-09-22 05:32:07 +00:00
27 lines
420 B
Bash
Executable File
27 lines
420 B
Bash
Executable File
#!/system/bin/sh
|
|
MODDIR=${0%/*}
|
|
. "$MODDIR/utils.sh"
|
|
|
|
run() {
|
|
until [ "$(getprop sys.boot_completed)" = 1 ]; do sleep 1; done
|
|
until [ -d "/sdcard/Android" ]; do sleep 1; done
|
|
|
|
while
|
|
BASEPATH=$(get_basepath)
|
|
SVCL=$?
|
|
[ $SVCL = 20 ]
|
|
do sleep 2; done
|
|
|
|
if [ $SVCL != 0 ]; then
|
|
ch_desc_err "App not installed"
|
|
return
|
|
fi
|
|
sleep 4
|
|
|
|
mount_rv "$BASEPATH"
|
|
}
|
|
|
|
if [ ! -f "$MODDIR/disabled_by_action" ]; then
|
|
run
|
|
fi
|