Fix getModuleApkPath

This commit is contained in:
Nullptr 2023-01-01 11:34:40 +08:00 committed by LoveSy
parent fb0ceca588
commit ed3612570c
1 changed files with 1 additions and 1 deletions

View File

@ -732,7 +732,7 @@ public class ConfigManager {
return false; return false;
} }
try (var zip = new ZipFile(toGlobalNamespace(apk))) { try (var zip = new ZipFile(toGlobalNamespace(apk))) {
return zip.getEntry("assets/xposed_init") != null; return zip.getEntry("META-INF/xposed/xposed_init") != null || zip.getEntry("assets/xposed_init") != null;
} catch (IOException e) { } catch (IOException e) {
return false; return false;
} }