Commit 8476eb9f authored by topjohnwu's avatar topjohnwu

Avoid patching vendor_boot.img

parent 735af784
......@@ -182,7 +182,7 @@ abstract class MagiskInstallImpl protected constructor(
}
while (tarIn.nextEntry?.let { entry = it } != null) {
if (entry.name.contains("boot.img") ||
if (entry.name.startsWith("boot.img") ||
(Config.recovery && entry.name.contains("recovery.img"))) {
val name = entry.name.replace(".lz4", "")
console.add("-- Extracting: $name")
......
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