2
0
mirror of https://github.com/topjohnwu/Magisk synced 2025-08-31 07:05:11 +00:00

Reorganize scripts

This commit is contained in:
topjohnwu
2019-02-11 17:14:07 -05:00
parent 65ebb0d2f8
commit ab47b717b1
5 changed files with 154 additions and 150 deletions

View File

@@ -73,14 +73,6 @@ remove_system_su
ui_print "- Constructing environment"
if $DATA; then
MAGISKBIN=/data/magisk
$DATA_DE && MAGISKBIN=/data/adb/magisk
run_migrations
else
MAGISKBIN=/cache/data_bin
fi
# Copy required files
rm -rf $MAGISKBIN/* 2>/dev/null
mkdir -p $MAGISKBIN 2>/dev/null