feat: customize.sh: timer before uninstallation

Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
Cuynu 2026-01-16 17:44:25 +07:00
commit 99003729f1

View file

@ -17,8 +17,19 @@ nonfosskitsune() {
}
maliciousmagisk() {
echo "Nirtal Magisk found! it's not compatible with this module..."
su -lp 2000 -c "cmd notification post -S bigtext -t 'WARNING' tag 'You ARE USING UNKNOWN MAGISK! Please reinstall official Magisk from topjohnwu for your safety!" >/dev/null 2>&1
echo "Nirtal Magisk found! it's not compatible with this module..."\
echo "Uninstalling app in 5 seconds..."
sleep 1
echo "Uninstalling app in 4 seconds..."
sleep 1
echo "Uninstalling app in 3 seconds..."
sleep 1
echo "Uninstalling app in 2 seconds..."
sleep 1
echo "Uninstalling app in 1 seconds..."
sleep 1
am start -a android.intent.action.VIEW -d https://github.com/topjohnwu/Magisk/releases
sleep 1
pm uninstall io.github.Nirtal0.magisk
}