Check if a zip file exists before adding ot to list.
This commit is contained in:
parent
cb8b8462d6
commit
f90d33adda
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ public final class TypeManager {
|
||||||
if (zipped == null) {
|
if (zipped == null) {
|
||||||
File f = new File(appDir, list[i]);
|
File f = new File(appDir, list[i]);
|
||||||
|
|
||||||
if (!f.isDirectory()) {
|
if (!f.isDirectory() && f.exists()) {
|
||||||
zipped = new ZippedAppFile(f, app);
|
zipped = new ZippedAppFile(f, app);
|
||||||
zipfiles.put(list[i], zipped);
|
zipfiles.put(list[i], zipped);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue