Fix unpacking readmes.zip which contains directories
This commit is contained in:
parent
0adc618c13
commit
9445361f28
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue