mbbpatch/MBCPApp/patches/remove_animated_qr_background.sh
Cuynu 3abe9c798f fix: patches: remove_animated_qr_background.sh: wrong path
im dumb, don't know how to code properly

Signed-off-by: Cuynu <cuynu@proton.me>
2026-03-16 03:37:58 +07:00

20 lines
1,010 B
Shell

#!/usr/bin/env bash
# PATCHNAME: Remove animated QR background
# MAXVER:
# MINVER:
# shellcheck disable=SC1091
. "$DIRPATH"/common.sh
info "This will remove animated QR on bottom navigation bar and replace with white background !"
info "Removing animated QR..."
rm -f 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/static/homeLanding_bg_qrCode.gif'
# Adapt with v6.4.77+
rm -f 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/static/homeLanding_bg_qrCode.webp'
info "Copying new static white background..."
cp -f 'blob_patches/qr_white/homeLanding_bg_qrCode.gif' 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/static'
# Adapt with v6.4.77+
cp -f 'blob_patches/qr_white/homeLanding_bg_qrCode.webp' 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/static'
# Unknown homeLanding_bg_qrCode
cp -f 'blob_patches/qr_white/homeLanding_bg_qrCode.webp' 'mbapk/mbapk_unpacked/root/assets/flutter_assets/assets/images/dynamic/base/homeLanding_bg_qrCode.webp'