feat: patches(custom_subbadge): introduce new patch
force static basic sub_badge, no more animated promotion sub_badge to buy membership subscription from MB also copies some encrypted files in flutter_assets Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
parent
388390946a
commit
6f8e3a431d
19 changed files with 9848 additions and 0 deletions
2
MBCPApp/blob_patches/custom_subbadge/CREDIT.md
Normal file
2
MBCPApp/blob_patches/custom_subbadge/CREDIT.md
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# credits
|
||||
extracted from original MB Bank app.
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 67 KiB |
|
|
@ -0,0 +1 @@
|
|||
{"v":"4.8.0","meta":{"g":"LottieFiles AE 3.5.7","a":"","k":"","d":"","tc":"none"},"fr":60,"ip":0,"op":90,"w":512,"h":512,"nm":"Arrow","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"arrow 02","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":0,"s":[256,241,0],"to":[0,13.333,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":49.779,"s":[256,321,0],"to":[0,0,0],"ti":[0,13.333,0]},{"t":89,"s":[256,241,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":0,"s":[100,100,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":49.779,"s":[95,95,100]},{"t":89,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-72,-119],[0,-38.5],[72,-119]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[20]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":49.779,"s":[19]},{"t":89,"s":[20]}],"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":91,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"arrow 01","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":0,"s":[256,340,0],"to":[0,13.333,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":43.746,"s":[256,420,0],"to":[0,0,0],"ti":[0,13.333,0]},{"t":89,"s":[256,340,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":0,"s":[100,100,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":43.746,"s":[95,95,100]},{"t":89,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-72,-119],[0,-38.5],[72,-119]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[20]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":43.746,"s":[19]},{"t":89,"s":[20]}],"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":91,"st":0,"bm":0}],"markers":[]}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
9816
MBCPApp/blob_patches/custom_subbadge/resources/lottie/money_bag.json
Normal file
9816
MBCPApp/blob_patches/custom_subbadge/resources/lottie/money_bag.json
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.9 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
20
MBCPApp/patches/custom_subbadge.sh
Normal file
20
MBCPApp/patches/custom_subbadge.sh
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env bash
|
||||
# PATCHNAME: Custom sub-badge
|
||||
# MAXVER:
|
||||
# MINVER: 6.4.42
|
||||
# shellcheck disable=SC1091
|
||||
. "$DIRPATH"/common.sh
|
||||
|
||||
info "Currently only support for [Basic] member badge."
|
||||
info "Plus, Pro, Premium support is planned."
|
||||
|
||||
info "Applying files..."
|
||||
cp -f "$DIRPATH"/blob_patches/custom_subbadge/basic/sub_badge_1.json "$DIRPATH"/mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/lottie/
|
||||
cp -f "$DIRPATH"/blob_patches/custom_subbadge/basic/sub_badge_2.json "$DIRPATH"/mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/lottie/
|
||||
info "Adding necessary files..."
|
||||
cp -r -f "$DIRPATH"/blob_patches/custom_subbadge/resources/gif "$DIRPATH"/mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/gif
|
||||
cp -f "$DIRPATH"/blob_patches/custom_subbadge/resources/lottie/arrow.json "$DIRPATH"/mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/lottie/
|
||||
cp -f "$DIRPATH"/blob_patches/custom_subbadge/resources/lottie/identification_loading.json "$DIRPATH"/mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/lottie/
|
||||
cp -f "$DIRPATH"/blob_patches/custom_subbadge/resources/lottie/logo_star.json "$DIRPATH"/mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/lottie/
|
||||
cp -f "$DIRPATH"/blob_patches/custom_subbadge/resources/lottie/money_bag.json "$DIRPATH"/mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/lottie/
|
||||
#[ ! -f mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/lottie/qr_bg_metro.json ] && info "skipping metro" || cp -f "$DIRPATH"/blob_patches/custom_subbadge/resources/qr_bg_metro.json "$DIRPATH"/mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/lottie/
|
||||
|
|
@ -99,6 +99,7 @@
|
|||
| `Change app logo` | Change the app logo with set of icons. | v6.4.0 ~ v6.4.99 |
|
||||
| `Change widget background to dark ` | Change widget background to dark if you use MBBHomeWidget. | v6.4.0 ~ v6.4.99 |
|
||||
| `Custom VTAP screen` | Warn users about critical VTAP trigger error from app. | v6.4.53 ~ v6.4.99 |
|
||||
| `Custom sub-badge` | Replace original animated promotion badge with static badge for Basic users | v6.4.44 ~ v6.5.1 |
|
||||
| `Disable MB Membership` | Disable the MB Membership badge below pfp and all of it's features. (limited features with v6.4.67+) | v6.4.0 ~ v6.4.99 |
|
||||
| `Tian37 Fix` | Nuke detection points within Tian37 libraries. | v6.4.87 ~ v6.4.99 |
|
||||
| `Force portrait screen` | Force the screen always portrait on app, especially when launching app. | v6.4.0 ~ v6.4.99 |
|
||||
|
|
|
|||
Loading…
Reference in a new issue