You've already forked PlayIntegrityFork
mirror of
https://github.com/osm0sis/PlayIntegrityFork.git
synced 2025-09-06 06:37:06 +00:00
Fix retaining disabled ROM apps through module updates in some scenarios
- KernelSU or APatch have completely hidden directories/files so would not get recreated - for .apk files with a config.xml the config.xml would not get recreated due to the 0-size/hidden .apk
This commit is contained in:
@@ -3,6 +3,12 @@ if [ "$API" -lt 26 ]; then
|
||||
abort "! You can't use this module on Android < 8.0"
|
||||
fi
|
||||
|
||||
# Copy any disabled app files to updated module
|
||||
if [ -d "/data/adb/modules/playintegrityfix/system" ]; then
|
||||
ui_print "- Restoring disabled ROM apps configuration"
|
||||
cp -arf /data/adb/modules/playintegrityfix/system $MODPATH
|
||||
fi
|
||||
|
||||
# Copy any supported custom files to updated module
|
||||
for FILE in custom.app_replace.list custom.pif.json; do
|
||||
if [ -f "/data/adb/modules/playintegrityfix/$FILE" ]; then
|
||||
|
||||
Reference in New Issue
Block a user