mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-19 00:18:29 +00:00
parent
741b679306
commit
cd96454886
@ -58,7 +58,7 @@ abstract class MagiskInstallImpl protected constructor(
|
|||||||
private val localFS get() = FileSystemManager.getLocal()
|
private val localFS get() = FileSystemManager.getLocal()
|
||||||
|
|
||||||
private fun findImage(): Boolean {
|
private fun findImage(): Boolean {
|
||||||
val bootPath = "find_boot_image; echo \"\$BOOTIMAGE\"".fsh()
|
val bootPath = "RECOVERYMODE=${Config.recovery} find_boot_image; echo \"\$BOOTIMAGE\"".fsh()
|
||||||
if (bootPath.isEmpty()) {
|
if (bootPath.isEmpty()) {
|
||||||
console.add("! Unable to detect target image")
|
console.add("! Unable to detect target image")
|
||||||
return false
|
return false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user