From 59ea51477c87cc019931b64fdf0533e3a877918d Mon Sep 17 00:00:00 2001 From: Cuynu Date: Wed, 17 Dec 2025 22:55:44 +0700 Subject: [PATCH] feat: patches: new [add verified badge] patch Signed-off-by: Cuynu --- .../blob_patches/verified_badge/tick-mark.png | Bin 0 -> 1084 bytes MBCPApp/patches/add_verified_badge.sh | 32 ++++++++++++++++++ README.md | 3 +- 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 MBCPApp/blob_patches/verified_badge/tick-mark.png create mode 100644 MBCPApp/patches/add_verified_badge.sh diff --git a/MBCPApp/blob_patches/verified_badge/tick-mark.png b/MBCPApp/blob_patches/verified_badge/tick-mark.png new file mode 100644 index 0000000000000000000000000000000000000000..217f212e80537cffb011c15986a67563c3d3548b GIT binary patch literal 1084 zcmeAS@N?(olHy`uVBq!ia0y~yU{C;I4mJh`hT^KKFANL}EX7WqAsieW95oy%9SjT% zoCO|{#S9D#Z$Ox_QloG$0|SF(iEBhjaDG}zd16s2LwR|*US?i)adKios$PCk`s{Z$ zQVa~tJ3U<-Ln2zYPS5q3nksR;{`%iJ;s+WM!d7_td9P6^SMV(1zA+&td6(y7X0Nk$ zTf%A!zaEWTn{(w_)Y+`H`p2Rc=+4fzy4-B$x7O6wNXj=#@3in!tu<*%O3$C}`xS7! z@WGxR4$psmyK}uZcK`oc`|E$z&K#Px|J6#d_Hc)5jCHPTJuf!bmPYR@nC*RsZ41wv z*oB<3EL_WXs`Wnn_u!RoqWRCBXhxMUJ5350_HX^Q=XObEdcx!B)m`hWxNoi9bmTxm zNz%jP3zsdkIPh!oUV8@b%}?$m7sk21z2A3(x9g6klCseE8i|+lWixhuM9mo)_hktQM(H=QB+I ztf`RbtFgF2x!lHr^N&^diJEvpZtkwjzhwARC0V!3d9jvt+F4dPjg#j;U1y&g*&#F zFdEKwaH&|iO7ZD@`7(C)AAfdr7o>jlEz!+ia^WMBKzO%157!<^&hu<`i5tGEMO-&r zziEF(+}m_ z?D;x5`v?2+S5|V4E|YoZt-LqG@O`!Ltk455H*%No$sS3U`PUIw$jm-*-^zj+`l|Kz;XxO^RXfwk_ zkA18Se`W+a+>yS`|7VW-ubn?y((BzA7arKwopnYnAth?Tq||2*k<348*=lyq30dXd@XJA9u<9r$P( w?Z4twm5bAX9fu?YLXxHIqc>muy7iyD;pEH@1uogG3=9kmp00i_>zopr07{wyy#N3J literal 0 HcmV?d00001 diff --git a/MBCPApp/patches/add_verified_badge.sh b/MBCPApp/patches/add_verified_badge.sh new file mode 100644 index 0000000..4901b4a --- /dev/null +++ b/MBCPApp/patches/add_verified_badge.sh @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +# PATCHNAME: Add verified badge +# MAXVER: +# MINVER: +# shellcheck disable=SC1091 +. "$DIRPATH"/common.sh + +confirm "This patch will replace MIC protection shield with verified badge, including the unregistered package badge. Are you sure you want to apply?" || exit 169 + +info "Moving icons..." +# [actived] is typo from MB side. + +# Activated MIC protection shield +# +cp -f 'blob_patches/verified_badge/tick-mark.png' 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/dynamic/base/shield_img_actived.webp' +# Private users +cp -f 'blob_patches/verified_badge/tick-mark.png' 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/dynamic/base/shield_img_actived.private.webp' + +# Unactivated MIC protection shield +cp -f 'blob_patches/verified_badge/tick-mark.png' 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/dynamic/base/shield_img_pending.webp' +cp -f 'blob_patches/verified_badge/tick-mark.png' 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/dynamic/priority/shield_img_pending.webp' +# Private users +cp -f 'blob_patches/verified_badge/tick-mark.png' 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/dynamic/base/shield_img_pending.private.webp' + +# Empty shield (when the expiry date of current protection shield is less than 10 days) +rm -rf 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/dynamic/base/shield_img_empty.webp' +rm -rf 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/dynamic/priority/shield_img_empty.webp' +# Private users +rm -rf 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/dynamic/base/shield_img_empty.private.webp' + +# Processing shield for private users +cp -f 'blob_patches/verified_badge/tick-mark.png' 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/dynamic/base/img_shield_processing.webp' diff --git a/README.md b/README.md index e3f8cbe..9b29023 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ I'm not responsible for any illegal action if someone abuse this patch to do ill | ⚙️ Patch | 📜 Description | 🏦 Suggested version | |:--------:|:--------------:|:-----------------:| +| `Add verified badge` | Replaces the MIC protection shield with verified badge to make it looks more cute :3 | v6.4.0 ~ v6.4.79 | | `Adaptive launcher icon` | Adds the adaptive & themed icon support to the app. Thanks to @fukiame ! | v6.4.0 ~ v6.4.78 | | `Proper notification icon` | Temporary fixes for the app notification icon. Thanks to @fukiame ! | v6.4.0 ~ v6.4.78 | | `Block adjust volume on sEKYC` | Prevent the device volume from being adjusted when entering eKYC activity. | v6.4.0 ~ v6.4.78 | @@ -165,7 +166,7 @@ I'm not responsible for any illegal action if someone abuse this patch to do ill - [APKEditor](https://github.com/REAndroid/APKEditor/) - [MT Manager](https://mt2.cn/) to handle APK signature scheme v2/v3 (in the past) - [Zhaxia CN](https://t.me/zhaxia_cn) for sticker packs (Add anime resources) -- [FlatIcon](https://flaticon.com) for some icons +- [FlatIcon](https://flaticon.com) for some icons, including search icon, verified badge ## Contributors - [Cuynu](https://git.disroot.org/cuynu) - MBCP project author/maintainer