mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 13:57:46 +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;
|
||||
|
||||
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) {
|
||||
ext = file;
|
||||
|
Loading…
Reference in New Issue
Block a user