mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-11-06 19:31:10 +00:00
Update scripts to use BusyBox standalone mode
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
#MAGISK
|
||||
##########################################################################################
|
||||
############################################
|
||||
#
|
||||
# Magisk Uninstaller
|
||||
# by topjohnwu
|
||||
#
|
||||
##########################################################################################
|
||||
############################################
|
||||
|
||||
##########################################################################################
|
||||
############################################
|
||||
# Preparation
|
||||
##########################################################################################
|
||||
############################################
|
||||
|
||||
# This path should work in any cases
|
||||
TMPDIR=/dev/tmp
|
||||
@@ -33,9 +33,7 @@ fi
|
||||
|
||||
setup_flashable
|
||||
|
||||
ui_print "************************"
|
||||
ui_print " Magisk Uninstaller "
|
||||
ui_print "************************"
|
||||
print_title "Magisk Uninstaller"
|
||||
|
||||
is_mounted /data || mount /data || abort "! Unable to mount partitions"
|
||||
is_mounted /cache || mount /cache 2>/dev/null
|
||||
@@ -53,9 +51,9 @@ $DATA_DE || abort "! Cannot access /data, please uninstall with Magisk Manager"
|
||||
$BOOTMODE || recovery_actions
|
||||
run_migrations
|
||||
|
||||
##########################################################################################
|
||||
############################################
|
||||
# Uninstall
|
||||
##########################################################################################
|
||||
############################################
|
||||
|
||||
get_flags
|
||||
find_boot_image
|
||||
|
||||
Reference in New Issue
Block a user