GP-0: Fixing issue with discovering split dyld_shared_cache files

This commit is contained in:
Ryan Kurtz
2022-05-17 05:38:24 -04:00
parent 8a776567b5
commit 49a426eb3f

View File

@@ -195,10 +195,7 @@ public class DyldCacheUtils {
if (file != null && shouldCombineSplitFiles) {
String baseName = file.getName();
File[] splitFiles = file.getParentFile().listFiles(f -> {
if (!f.getName().startsWith(baseName)) {
return false;
}
if (f.getName().equals(baseName)) {
if (!f.getName().startsWith(baseName + ".")) {
return false;
}
if (f.getName().toLowerCase().endsWith(".map")) {