Opening ABCs in ZIP files

This commit is contained in:
Jindra Petřík
2022-11-20 22:12:19 +01:00
parent 664ea1bf23
commit 79816ce26a
3 changed files with 68 additions and 32 deletions
@@ -73,7 +73,8 @@ public class ZippedBundle implements Bundle {
while ((entry = zip.getNextEntry()) != null) {
if (entry.getName().toLowerCase().endsWith(".swf")
|| entry.getName().toLowerCase().endsWith(".gfx")) {
|| entry.getName().toLowerCase().endsWith(".gfx")
|| entry.getName().toLowerCase().endsWith(".abc")) {
keySet.add(entry.getName());
}
}
@@ -511,7 +511,7 @@ public class ABC implements Openable {
this.parentTag = tag;
this.file = file;
this.fileTitle = fileTitle;
if (file != null) {
if (file != null || fileTitle != null) {
isOpenable = true;
}