Improve overlay AndroidManifest.xml parsing, support YAAP

This commit is contained in:
Chris Renshaw
2025-02-11 21:27:17 -04:00
committed by GitHub
parent 83b9d96ce4
commit fa937983e8
2 changed files with 3 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ for APP in $(grep -v '^#' $LIST); do
APK=$(readlink -f $APP);
fi
if [ -s "$APK" ]; then
PKGNAME=$(unzip -p $APK AndroidManifest.xml | tr -d '\0' | grep -oE '[[:alnum:].-_]+\*http' | cut -d\* -f1)
PKGNAME=$(unzip -p $APK AndroidManifest.xml | tr -d '\0' | grep -oE 'android.*http' | sed -e 's/android//' -e 's/.application//' -e 's/*http//' | cut -c2-)
if [ "$PKGNAME" ] && grep -q "overlay package=\"$PKGNAME" $CFG; then
HIDECFG=$MODPATH$PREFIX$CFG
if [ ! -f "$HIDECFG" ]; then

View File

@@ -11,7 +11,7 @@
/system/app/EliteDevelopmentModule
/system/app/XInjectModule
# helluvaOS / hentaiOS
# helluvaOS, hentaiOS
/system_ext/app/helluvaProductDevice*
/system_ext/app/helluvaProductSecretStub
/system_ext/app/hentaiLewdbSVTDummy
@@ -19,5 +19,5 @@
# Evolution X
/system_ext/app/PifPrebuilt
# PixelOS
# PixelOS, YAAP
/system_ext/overlay/CertifiedPropsOverlay.apk