Only show dialog auto-close message on Magisk where it's needed

This commit is contained in:
Chris Renshaw
2024-10-03 22:40:22 -03:00
committed by GitHub
parent ebdbccdad2
commit ea65aef097

View File

@@ -7,5 +7,9 @@ unset ASH_STANDALONE
sh $MODPATH/autopif.sh || exit 1 sh $MODPATH/autopif.sh || exit 1
echo -e "\nDone!" echo -e "\nDone!"
echo -e "\nClosing dialog in 20 seconds ..."
sleep 20 # warn since Magisk's implementation automatically closes if successful
if [ "$KSU" != "true" -a "$APATCH" != "true" ]; then
echo -e "\nClosing dialog in 20 seconds ..."
sleep 20
fi