mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-04-29 22:24:34 +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
|
||||
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
|
||||
p_patcher_args=("${p_patcher_args[@]//-[ei] ${microg_patch}/}")
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user