Added support for files ending in .zip.

This commit is contained in:
YASME-Tim
2014-12-19 22:42:14 +01:00
parent ffc642048e
commit c4fe9150bf
@@ -40,7 +40,7 @@ public class InputFile {
if (fileName.endsWith(".class")) {
return loadFromClassFile(file);
}
if (fileName.endsWith(".apk")) {
if (fileName.endsWith(".apk") || fileName.endsWith(".zip")) {
Dex dex = loadFromZip(file);
if (dex == null) {
throw new IOException("File 'classes.dex' not found in file: " + file);