This repository has been archived on 2026-04-04. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
mbbpatch_archive/MBCPApp/patches/remove_custompfp.sh
fukiame 4cd3357a68 [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-02-07 22:44:54 +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 !"