mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-11 15:09:24 +01:00
fix: add file extension to doNotCompress only if the file size is not 0
This commit is contained in:
parent
76bf6ff0c8
commit
564b285126
@ -168,7 +168,9 @@ public class Androlib {
|
|||||||
String ext;
|
String ext;
|
||||||
|
|
||||||
for (String file : files) {
|
for (String file : files) {
|
||||||
if (isAPKFileNames(file) && unk.getCompressionLevel(file) == 0) {
|
if (isAPKFileNames(file) &&
|
||||||
|
unk.getCompressionLevel(file) == 0 &&
|
||||||
|
unk.getSize(file) != 0) {
|
||||||
|
|
||||||
if (StringUtils.countMatches(file, ".") > 1) {
|
if (StringUtils.countMatches(file, ".") > 1) {
|
||||||
ext = file;
|
ext = file;
|
||||||
|
Loading…
Reference in New Issue
Block a user