Skip to content

Commit 7390097

Browse files
committed
Upload file
1 parent 2117a2d commit 7390097

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

pio/src/main/assets/home/bin/apkeditor_b

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,11 @@ echo
9494
if [ -f "$INPUT/dex/classes.dex" ] && [ -d "$INPUT/smali" ];then
9595
for vkn in "$INPUT"/dex/classes*.dex; do
9696
kout="$(basename $vkn .dex)"
97+
if [ -f "$INPUT/.cache/hash_$kout.json" ];then
9798
cp -rf "$INPUT/.cache/hash_$kout.json" "$INPUT/.cache/2hash_$kout.json"
9899
dkfjff="$(check_changes.py "$INPUT/smali/$kout" "$INPUT/.cache/2hash_$kout.json")"
99100
rm -fr "$INPUT/.cache/2hash_$kout.json"
101+
fi
100102
if [ -n "$dkfjff" ];then
101103
API="$(dexupdater -g "$vkn" -printApi | grep API | awk '{print $2}')"
102104
smali a --api $API -o "$INPUT/smali/$kout.dex" $(echo "$dkfjff" | grep -e "new:" -e "fixed:" | awk '{print "'$INPUT/smali/$kout'/"$2}')

pio/src/main/assets/home/bin/apktool_b

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,11 @@ echo
9494
if [ -f "$INPUT/classes.dex" ] && [ -d "$INPUT/smali" ];then
9595
for vkn in "$INPUT"/classes*.dex; do
9696
kout="$(basename $vkn .dex | sed 's|classes|smali|')"
97+
if [ -f "$INPUT/.cache/hash_$kout.json" ];then
9798
cp -rf "$INPUT/.cache/hash_$kout.json" "$INPUT/.cache/2hash_$kout.json"
9899
dkfjff="$(check_changes.py "$INPUT/$kout" "$INPUT/.cache/2hash_$kout.json")"
99100
rm -fr "$INPUT/.cache/2hash_$kout.json"
101+
fi
100102
if [ -n "$dkfjff" ];then
101103
API="$(dexupdater -g "$vkn" -printApi | grep API | awk '{print $2}')"
102104
smali a --api $API -o "$INPUT/$kout.dex" $(echo "$dkfjff" | grep -e "new:" -e "fixed:" | awk '{print "'$INPUT/$kout'/"$2}')

0 commit comments

Comments
 (0)