Skip to content

Commit 14132b9

Browse files
committed
Update
1 parent 32913b5 commit 14132b9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/src/main/assets/home/bin/apktool_b

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ fi
118118
find "$INPUT" -type f -name "*.bak" -delete >/dev/null
119119

120120
# Nén lib.so
121-
if [ "$(grep -cm1 '\- so' "$INPUT/apktool.yml")" == 1 ];then
122-
[ "$XTRALIB" == "true" ] && sed -i "/\- so/d" "$INPUT/apktool.yml"
121+
if [ "$(grep -cm1 '\- so$' "$INPUT/apktool.yml")" == 1 ];then
122+
[ "$XTRALIB" == "true" ] && sed -i "/- so$/d" "$INPUT/apktool.yml"
123123
else
124-
[ "$XTRALIB" == "false" ] && echo "- so" >> "$INPUT/apktool.yml"
124+
[ "$XTRALIB" == "false" ] && sed -i "/^doNotCompress/a\- so" "$INPUT/apktool.yml"
125125
fi
126126

127127
# tên file

0 commit comments

Comments
 (0)