mbbpatch/MBCPApp/patches/remove_custompfp.sh
fukiame 5a2fc21cc3 [2/2] fix: patches: *.sh: adapt for y2k
sed -i 's/MAXVER: /MAXVER: 6.4./' *
sed -i 's/MINVER: /MINVER: 6.4./' *

Signed-off-by: fukiame <fukiame@proton.me>
2026-03-16 04:07:36 +07:00

14 lines
577 B
Shell

#!/usr/bin/env bash
# PATCHNAME: Remove custom profile picture
# MAXVER: 6.4.67
# MINVER:
# shellcheck disable=SC1091
. "$DIRPATH"/common.sh
warn "This will force the default app profile picture instead of the one you already set before on the MB server-side!"
confirm "Are you sure you want to apply this patch?" || exit 69
sed_libapp 's|getPhoto|nonPhoto|g'
sed_libapp 's|savePhoto|nonePhoto|g'
info "In order to force this, you can just remove *.png or *.jpg files from [/data/data/com.mbmobile/cache] where contain your current profile picture, or clear the app data !"