{patches, common}: fry checkVtap

not effective: parser uses script name for .inf outputting, to correctly detect this, use the script name

also, it would be more effective to apply this directly to the parser for most/all patches

Signed-off-by: fukiame <fukiame@proton.me>
This commit is contained in:
Hikarie Fukirei 2025-09-17 08:22:21 +07:00
commit 41fdf1a28b
2 changed files with 0 additions and 9 deletions

View file

@ -69,13 +69,6 @@ get_mb_ver() {
bb_split "$a" '.' '2'
}
checkVtap() {
if [[ -f "mbapk/mbapk_unpacked/assets/mbcp_info/hide_vtap*.inf" ]]; then
echo "Hide VTAP patch already applied!"
exit 1
fi
}
good() {
echo -e "\033[32m[$(date +"%H:%M:%S:%2N")] [INFO] $1\033[0m"
}

View file

@ -6,8 +6,6 @@
. "$DIRPATH"/common.sh
checkVtap .
confirm "Are you sure you want to apply this patch?" || exit 69
# Adapt with v6.4.64+