From 35934bdb34553355d5ab8f0e756b7212282ab408 Mon Sep 17 00:00:00 2001 From: Cuynu Date: Mon, 11 Aug 2025 10:27:49 +0700 Subject: [PATCH] feat: widget_dark.sh: introduce [Change widget background to dark] patch Signed-off-by: Cuynu --- MBCPApp/blob_patches/widget_dark/bg_4x2.png | Bin 0 -> 450 bytes MBCPApp/blob_patches/widget_dark/bg_4x4.png | Bin 0 -> 450 bytes MBCPApp/patches/widget_dark.sh | 12 ++++++++++++ README.md | 1 + 4 files changed, 13 insertions(+) create mode 100644 MBCPApp/blob_patches/widget_dark/bg_4x2.png create mode 100644 MBCPApp/blob_patches/widget_dark/bg_4x4.png create mode 100644 MBCPApp/patches/widget_dark.sh diff --git a/MBCPApp/blob_patches/widget_dark/bg_4x2.png b/MBCPApp/blob_patches/widget_dark/bg_4x2.png new file mode 100644 index 0000000000000000000000000000000000000000..7300937a0f91968a1c2cec9fc3de30166b6ac36a GIT binary patch literal 450 zcmeAS@N?(olHy`uVBq!ia0y~yV3+{H9Bd2>4A0#j?O0n@B ztn_qo45^s&_R>b)1_Ooz8!jzAec*9zopr02Ft9F#rGn literal 0 HcmV?d00001 diff --git a/MBCPApp/blob_patches/widget_dark/bg_4x4.png b/MBCPApp/blob_patches/widget_dark/bg_4x4.png new file mode 100644 index 0000000000000000000000000000000000000000..7300937a0f91968a1c2cec9fc3de30166b6ac36a GIT binary patch literal 450 zcmeAS@N?(olHy`uVBq!ia0y~yV3+{H9Bd2>4A0#j?O0n@B ztn_qo45^s&_R>b)1_Ooz8!jzAec*9zopr02Ft9F#rGn literal 0 HcmV?d00001 diff --git a/MBCPApp/patches/widget_dark.sh b/MBCPApp/patches/widget_dark.sh new file mode 100644 index 0000000..80ff17e --- /dev/null +++ b/MBCPApp/patches/widget_dark.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +# PATCHNAME: Change widget background to dark +# MAXVER: +# MINVER: +# shellcheck disable=SC1091 +. "$DIRPATH"/common.sh + +echo "Copying dark background..." +cp -f 'blob_patches/widget_dark/bg_4x2.png' 'mbapk/mbapk_unpacked/res/drawable-xxhdpi/' +cp -f 'blob_patches/widget_dark/bg_4x4.png' 'mbapk/mbapk_unpacked/res/drawable-xxhdpi/' +echo "Removing [mbb_home_widget_qr_info.xml]..." +rm -f 'mbapk/mbapk_unpacked/res/xml/mbb_home_widget_qr_info.xml' diff --git a/README.md b/README.md index a2e16c8..a735102 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ We are not responsible for any illegal action if criminal abuse this patch to do | `Autopatch strings` | Modify the strings in-app within `libapp.so`, and also fixes some translation typo in-app. | v6.4.0 ~ v6.4.62 | | `Block adjust volume on sEKYC` | Prevent the device volume from being adjusted when entering eKYC activity. | v6.4.0 ~ v6.4.62 | | `Change app logo` | Change the app logo with set of icons. | v6.4.0 ~ v6.4.62 | +| `Change widget background to dark ` | Change widget background to dark if you use MBBHomeWidget. | v6.4.0 ~ v6.4.62 | | `Force portrait screen` | Force the screen always portrait on app, espcially when launching. | v6.4.0 ~ v6.4.62 | | `Remove invoke to mbshield` | Make app don't invoke to mbshield when opening (MainActivity) and (MBBHomeWidgetQR) only | v6.4.22 ~ v6.4.62 | | `Remove bulit-in fonts` | Remove app font and force to use device font for most app components. | v6.4.0 ~ v6.4.62 |