mbbpatch/MBCPApp/patches/add_modified_resources.sh
Cuynu 296852d0b3 feat: patches(add_modified_resources): zdefend fix qr in rooted screen
scan the qr to fix zimperium detection from its detection screen

Signed-off-by: Cuynu <cuynu@proton.me>
2026-03-30 17:22:32 +07:00

17 lines
1.2 KiB
Shell

#!/usr/bin/env bash
# PATCHNAME: Add modified resources
# MAXVER:
# MINVER:
# shellcheck disable=SC1091
. "$DIRPATH"/common.sh
info "Copying modified resources..."
cp -r -f 'blob_patches/resources/raw' 'mbapk/mbapk_unpacked/resources/package_1/res/'
cp -f 'blob_patches/resources/strings-vi/strings.xml' 'mbapk/mbapk_unpacked/resources/package_1/res/values-vi/'
cp -f 'blob_patches/resources/strings/strings.xml' 'mbapk/mbapk_unpacked/resources/package_1/res/values/'
info "Copying bootleg_ekyc..."
cp -f 'blob_patches/bootleg_ekyc/dotp1_ekyc.png' 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/dynamic/base/digitalOtp_img_authenguide01.webp'
cp -f 'blob_patches/bootleg_ekyc/dotp2_ekyc.png' 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/dynamic/base/digitalOtp_img_authenguide02.webp'
info "Copying ZDefend Fix QR..."
cp -f 'blob_patches/resources/zdefendfix_qrscreen.png' 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/dynamic/base/general_illus_warningSecurity.webp'
cp -f 'blob_patches/resources/zdefendfix_qrscreen.png' 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/dynamic/priority/general_illus_warningSecurity.webp'