Skip to content

Commit

Permalink
Get zip extracted packs working
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebemish committed May 19, 2024
1 parent c99029a commit 95dbde5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public static Pack.ResourcesSupplier wrap(Function<String, PackResources> functi
Pack.ResourcesSupplier packResources = wrap(s -> new AutoMetadataPathPackResources(s, "", file, type));
packs.add(new Pair<>(file.getFileName().toString(), packResources));
} else if (file.getFileName().toString().endsWith(".zip")) {
Pack.ResourcesSupplier packResources = wrap(s -> new AutoMetadataPathPackResources(s, "", file, type));
Pack.ResourcesSupplier packResources = wrap(s -> new AutoMetadataFilePackResources(s, "", file, type));
packs.add(new Pair<>(file.getFileName().toString(), packResources));
}
}
Expand All @@ -297,7 +297,7 @@ public static Pack.ResourcesSupplier wrap(Function<String, PackResources> functi
Pack.ResourcesSupplier packResources = wrap(s -> new AutoMetadataPathPackResources(s, GLOBAL_PREFIX, file, type));
packs.add(new Pair<>(file.getFileName().toString(), packResources));
} else if (file.getFileName().toString().endsWith(".zip")) {
Pack.ResourcesSupplier packResources = wrap(s -> new AutoMetadataPathPackResources(s, GLOBAL_PREFIX, file, type));
Pack.ResourcesSupplier packResources = wrap(s -> new AutoMetadataFilePackResources(s, GLOBAL_PREFIX, file, type));
packs.add(new Pair<>(file.getFileName().toString(), packResources));
}
}
Expand Down

0 comments on commit 95dbde5

Please sign in to comment.