Fix getModuleApkPath
This commit is contained in:
parent
fb0ceca588
commit
ed3612570c
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue