Fix unpacking readmes.zip which contains directories

This commit is contained in:
Manuel Fuhr 2022-05-24 22:53:28 +02:00
parent 0adc618c13
commit 9445361f28

View file

@ -603,6 +603,9 @@ public class BRouterView extends View {
ZipEntry ze = zis.getNextEntry(); ZipEntry ze = zis.getNextEntry();
if (ze == null) if (ze == null)
break; break;
if (ze.isDirectory()) {
continue;
}
String name = ze.getName(); String name = ze.getName();
File outfile = new File(path, name); File outfile = new File(path, name);
if (!outfile.exists()) { if (!outfile.exists()) {