Add support for more kernel image name in KPM patcher (#386)

This commit is contained in:
由崎黑板
2025-09-11 20:18:02 +08:00
committed by GitHub
parent 6973ce6a1f
commit 192323ad5c

View File

@@ -301,7 +301,7 @@ class HorizonKernelWorker(
}
// 查找Image文件
val findImageResult = runCommandGetOutput("find $extractDir -name 'Image' -type f")
val findImageResult = runCommandGetOutput("find $extractDir -name '*Image*' -type f")
if (findImageResult.isBlank()) {
throw IOException(context.getString(R.string.kpm_image_file_not_found))
}