You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
300 B
Bash
10 lines
300 B
Bash
#!/system/bin/sh
|
|
|
|
SKIPUNZIP=1;
|
|
export BOOTMODE MODPATH TMPDIR ZIPFILE ARCH IS64BIT API;
|
|
export MAGISK_VER MAGISK_VER_CODE;
|
|
export KSU KSU_VER KSU_VER_CODE KSU_KERNEL_VER_CODE;
|
|
|
|
unzip -qoj "$ZIPFILE" "META-INF/com/google/android/update-binary" -d "$TMPDIR/";
|
|
"$TMPDIR/update-binary" "" "" "$ZIPFILE";
|