Skip to content

Commit 2d8e1fb

Browse files
committed
dont exclude spoof patches for modules
1 parent e65a296 commit 2d8e1fb

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

utils.sh

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -529,12 +529,6 @@ build_rv() {
529529
epr "You cant include/exclude microg patch as that's done by rvmm builder automatically."
530530
p_patcher_args=("${p_patcher_args[@]//-[ei] ${microg_patch}/}")
531531
fi
532-
local spoof_streams_patch
533-
spoof_streams_patch=$(grep "^Name: " <<<"$list_patches" | grep -i "spoof" | grep -i "streams" || :) spoof_streams_patch=${spoof_streams_patch#*: }
534-
if [ -n "$spoof_streams_patch" ] && [[ ${p_patcher_args[*]} =~ $spoof_streams_patch ]]; then
535-
epr "You cant include/exclude spoof stream patch as that's done by rvmm builder automatically."
536-
p_patcher_args=("${p_patcher_args[@]//-[ei] ${spoof_streams_patch}/}")
537-
fi
538532

539533
local patcher_args patched_apk build_mode
540534
local rv_brand_f=${args[rv_brand],,}
@@ -543,7 +537,7 @@ build_rv() {
543537
for build_mode in "${build_mode_arr[@]}"; do
544538
patcher_args=("${p_patcher_args[@]}")
545539
pr "Building '${table}' in '$build_mode' mode"
546-
if [ -n "$microg_patch" ] || [ -n "$spoof_streams_patch" ]; then
540+
if [ -n "$microg_patch" ]; then
547541
patched_apk="${TEMP_DIR}/${app_name_l}-${rv_brand_f}-${version_f}-${arch_f}-${build_mode}.apk"
548542
else
549543
patched_apk="${TEMP_DIR}/${app_name_l}-${rv_brand_f}-${version_f}-${arch_f}.apk"
@@ -555,13 +549,6 @@ build_rv() {
555549
patcher_args+=("-d \"${microg_patch}\"")
556550
fi
557551
fi
558-
if [ -n "$spoof_streams_patch" ]; then
559-
if [ "$build_mode" = apk ]; then
560-
patcher_args+=("-e \"${spoof_streams_patch}\"")
561-
elif [ "$build_mode" = module ]; then
562-
patcher_args+=("-d \"${spoof_streams_patch}\"")
563-
fi
564-
fi
565552
if [ "${args[riplib]}" = true ]; then
566553
patcher_args+=("--rip-lib x86_64 --rip-lib x86")
567554
if [ "$build_mode" = module ]; then

0 commit comments

Comments
 (0)