From 2d8e1fbeae0fdf6bd9077ee0ee4f551875e1cde0 Mon Sep 17 00:00:00 2001 From: j-hc <25510067+j-hc@users.noreply.github.com> Date: Thu, 16 Jan 2025 18:19:05 +0000 Subject: [PATCH] dont exclude spoof patches for modules --- utils.sh | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/utils.sh b/utils.sh index be5cb768dc..4c9a30acba 100755 --- a/utils.sh +++ b/utils.sh @@ -529,12 +529,6 @@ build_rv() { epr "You cant include/exclude microg patch as that's done by rvmm builder automatically." p_patcher_args=("${p_patcher_args[@]//-[ei] ${microg_patch}/}") fi - local spoof_streams_patch - spoof_streams_patch=$(grep "^Name: " <<<"$list_patches" | grep -i "spoof" | grep -i "streams" || :) spoof_streams_patch=${spoof_streams_patch#*: } - if [ -n "$spoof_streams_patch" ] && [[ ${p_patcher_args[*]} =~ $spoof_streams_patch ]]; then - epr "You cant include/exclude spoof stream patch as that's done by rvmm builder automatically." - p_patcher_args=("${p_patcher_args[@]//-[ei] ${spoof_streams_patch}/}") - fi local patcher_args patched_apk build_mode local rv_brand_f=${args[rv_brand],,} @@ -543,7 +537,7 @@ build_rv() { for build_mode in "${build_mode_arr[@]}"; do patcher_args=("${p_patcher_args[@]}") pr "Building '${table}' in '$build_mode' mode" - if [ -n "$microg_patch" ] || [ -n "$spoof_streams_patch" ]; then + if [ -n "$microg_patch" ]; then patched_apk="${TEMP_DIR}/${app_name_l}-${rv_brand_f}-${version_f}-${arch_f}-${build_mode}.apk" else patched_apk="${TEMP_DIR}/${app_name_l}-${rv_brand_f}-${version_f}-${arch_f}.apk" @@ -555,13 +549,6 @@ build_rv() { patcher_args+=("-d \"${microg_patch}\"") fi fi - if [ -n "$spoof_streams_patch" ]; then - if [ "$build_mode" = apk ]; then - patcher_args+=("-e \"${spoof_streams_patch}\"") - elif [ "$build_mode" = module ]; then - patcher_args+=("-d \"${spoof_streams_patch}\"") - fi - fi if [ "${args[riplib]}" = true ]; then patcher_args+=("--rip-lib x86_64 --rip-lib x86") if [ "$build_mode" = module ]; then