mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-05-01 15:14:25 +02:00
Fix auto detection of microg patch
This commit is contained in:
parent
54a5f1afa8
commit
086649e375
2
utils.sh
2
utils.sh
@ -367,7 +367,7 @@ build_rv() {
|
|||||||
|
|
||||||
if [ "${args[merge_integrations]}" = true ]; then p_patcher_args+=("-m ${args[integ]}"); fi
|
if [ "${args[merge_integrations]}" = true ]; then p_patcher_args+=("-m ${args[integ]}"); fi
|
||||||
local microg_patch
|
local microg_patch
|
||||||
microg_patch=$(jq -r ".[] | select(.compatiblePackages[].name==\"${pkg_name}\") | .name" "${args[ptjs]}" | grep -F microg || :)
|
microg_patch=$(jq -r ".[] | select(.compatiblePackages[].name==\"${pkg_name}\") | .name" "${args[ptjs]}" | grep -iF microg || :)
|
||||||
if [ "$microg_patch" ]; then
|
if [ "$microg_patch" ]; then
|
||||||
p_patcher_args=("${p_patcher_args[@]//-[ei] ${microg_patch}/}")
|
p_patcher_args=("${p_patcher_args[@]//-[ei] ${microg_patch}/}")
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user