Commit 963d248c authored by vvb2060's avatar vvb2060 Committed by topjohnwu

Rename apk to be uninstaller

parent 657056e6
...@@ -506,7 +506,6 @@ def build_all(args): ...@@ -506,7 +506,6 @@ def build_all(args):
build_stub(args) build_stub(args)
build_binary(args) build_binary(args)
build_app(args) build_app(args)
zip_uninstaller(args)
parser = argparse.ArgumentParser(description='Magisk build script') parser = argparse.ArgumentParser(description='Magisk build script')
......
...@@ -15,4 +15,8 @@ export INSTALLER=$TMPDIR/install ...@@ -15,4 +15,8 @@ export INSTALLER=$TMPDIR/install
$BBBIN mkdir -p $INSTALLER $BBBIN mkdir -p $INSTALLER
$BBBIN unzip -o "$3" "assets/*" "lib/*" "META-INF/com/google/*" -x "lib/*/libbusybox.so" -d $INSTALLER >&2 $BBBIN unzip -o "$3" "assets/*" "lib/*" "META-INF/com/google/*" -x "lib/*/libbusybox.so" -d $INSTALLER >&2
export ASH_STANDALONE=1 export ASH_STANDALONE=1
exec $BBBIN sh "$INSTALLER/META-INF/com/google/android/updater-script" "$@" if [ "${3:-15}" = "uninstaller.zip" ]; then
exec $BBBIN sh "$INSTALLER/assets/magisk_uninstaller.sh" "$@"
else
exec $BBBIN sh "$INSTALLER/META-INF/com/google/android/updater-script" "$@"
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment