Rename scripts

This commit is contained in:
topjohnwu
2021-01-24 07:18:14 -08:00
parent 8618cc383a
commit ec31bb9a82
6 changed files with 7 additions and 6 deletions

View File

@ -15,8 +15,8 @@ export INSTALLER=$TMPDIR/install
$BBBIN mkdir -p $INSTALLER
$BBBIN unzip -o "$3" "assets/*" "lib/*" "META-INF/com/google/*" -x "lib/*/libbusybox.so" -d $INSTALLER >&2
export ASH_STANDALONE=1
if [ "${3:-15}" = "uninstaller.zip" ]; then
exec $BBBIN sh "$INSTALLER/assets/magisk_uninstaller.sh" "$@"
if echo "$3" | $BBBIN grep -q "uninstall"; then
exec $BBBIN sh "$INSTALLER/assets/uninstaller.sh" "$@"
else
exec $BBBIN sh "$INSTALLER/META-INF/com/google/android/updater-script" "$@"
fi