fix: module: remove wait 20 seconds code
Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
parent
c6f1c7b659
commit
e7c18420a9
2 changed files with 2 additions and 8 deletions
|
|
@ -19,13 +19,7 @@ echo Copying themes to themes folder...
|
|||
unzip -o "$ZIPFILE" 'token.json' -d '/data/user/0/com.mbmobile/app_flutter/app_theme/unzip/ad821008-3408-403b-9dc0-8de55d01611d/theme/'
|
||||
echo -------------
|
||||
echo Starting Flutter activity...
|
||||
echo "ATTENTION : Network traffic will be redirected to [medium.com] for 20 seconds !!!"
|
||||
echo "Press [Try again] after got 1005/1007 error on MB, so it's can bypass device not secure dialog !"
|
||||
iptables -t nat -A OUTPUT -p tcp -d 0/0 -j DNAT --to-destination 162.159.153.4:443
|
||||
am start -a android.intent.action.VIEW -d 'https://mbbank.onelink.me/QPF5?af_dp=mbbank%3A%2F%2Finstallingnew&af_force_deeplink=true&ad_dp=theme_detail&id=ad821008-3408-403b-9dc0-8de55d01611d' com.mbmobile/io.flutter.plugins.MainActivity
|
||||
sleep 20
|
||||
echo "Restoring network traffic"
|
||||
iptables -t nat -F OUTPUT
|
||||
echo -------------------
|
||||
echo Please notice that this are not REAL module, it only copy token.json to MB Bank app data dir !
|
||||
su -lp 2000 -c "cmd notification post -S bigtext -t 'MBCP AddonPriority' tag 'Please login, then press [Apply] or [Áp dụng] to complete theme installation !'" >/dev/null 2>&1
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
id=priority
|
||||
name=MB Priority Theme
|
||||
version=v1.6
|
||||
versionCode=16
|
||||
version=v1.7
|
||||
versionCode=17
|
||||
author=MBCP
|
||||
description=Override Chinh Phuc Dinh Cao theme with Priority theme.
|
||||
|
|
|
|||
Loading…
Reference in a new issue