Fix ROM injection app replacement when using APatch

This commit is contained in:
osm0sis
2024-01-23 12:31:36 -04:00
parent 919526bcd7
commit 198c2e5486
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ for APP in $(grep -v '^#' $LIST); do
*) HIDEDIR=$MODPATH/system/$APP;;
esac
mkdir -p $HIDEDIR
if [ "$KSU" == "true" ]; then
if [ "$KSU" = "true" -o "$APATCH" = "true" ]; then
setfattr -n trusted.overlay.opaque -v y $HIDEDIR
else
touch $HIDEDIR/.replace

View File

@@ -21,7 +21,7 @@ for APP in $(grep -v '^#' $LIST); do
*) HIDEDIR=$MODDIR/system/$APP;;
esac
mkdir -p $HIDEDIR
if [ "$KSU" == "true" ]; then
if [ "$KSU" = "true" -o "$APATCH" = "true" ]; then
setfattr -n trusted.overlay.opaque -v y $HIDEDIR
else
touch $HIDEDIR/.replace