Fix unpacking readmes.zip which contains directories
This commit is contained in:
parent
0adc618c13
commit
9445361f28
@ -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()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user