#!/system/bin/sh # Please don't hardcode /magisk/modname/... ; instead, please use $MODDIR/... # This will make your scripts compatible even if Magisk change its mount point in the future MODDIR=${0%/*} # install Magisk Manager if NanoDroid migration was run sleep 30 && [ -f /data/adb/magisk.apk ] && \ pm install -r /data/adb/magisk.apk ; \ rm -f /data/adb/magisk.apk &