Skip to content

Commit 7b47479

Browse files
committed
Update
1 parent 55bae54 commit 7b47479

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • app/src/main/assets/module/ZADD/patch_rom

app/src/main/assets/module/ZADD/patch_rom/index.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,8 @@ if checkonline; then
144144
number_ver="$(xem https://raw.githubusercontent.com/Zenlua/Tool-Tree/refs/heads/main/app/src/main/assets/module/ZADD/patch_rom/addon.prop 2>/dev/null | grep -m1 "versionCode=" | cut -d= -f2)"
145145
number_ver2="$(gprop versionCode "$MPAT/addon.prop")"
146146
if [[ ${number_ver:-0} -gt $number_ver2 ]];then
147-
if [ ! -f $MPAT/update ];then
148147
echo 1 >$MPAT/update
149148
showtoast "$addon_noti"
150-
fi
151149
else
152150
[ -f $MPAT/update ] && rm -f $MPAT/update
153151
fi

0 commit comments

Comments
 (0)