mirror of
https://github.com/chiteroman/TrickyStore.git
synced 2025-07-17 15:29:32 +00:00
This commit is contained in:
@@ -110,12 +110,17 @@ if [ ! -f "$CONFIG_DIR/target.txt" ]; then
|
|||||||
extract "$ZIPFILE" 'target.txt' "$TMPDIR"
|
extract "$ZIPFILE" 'target.txt' "$TMPDIR"
|
||||||
mv "$TMPDIR/target.txt" "$CONFIG_DIR/target.txt"
|
mv "$TMPDIR/target.txt" "$CONFIG_DIR/target.txt"
|
||||||
fi
|
fi
|
||||||
if [ ! -f "$CONFIG_DIR/pif.json" ]; then
|
|
||||||
ui_print "- Adding pif json"
|
# Check custom fingerprint
|
||||||
extract "$ZIPFILE" 'pif.json' "$TMPDIR"
|
if [ -f "/data/adb/pif.json" ]; then
|
||||||
mv "$TMPDIR/pif.json" "$CONFIG_DIR/pif.json"
|
mv -f "/data/adb/pif.json" "/data/adb/pif.json.old"
|
||||||
|
ui_print "- Backup custom pif.json"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ui_print "- Adding pif json"
|
||||||
|
extract "$ZIPFILE" 'pif.json' "$TMPDIR"
|
||||||
|
mv -f "$TMPDIR/pif.json" "$CONFIG_DIR/pif.json"
|
||||||
|
|
||||||
if [ -d "/data/adb/modules/playintegrityfix" ]; then
|
if [ -d "/data/adb/modules/playintegrityfix" ]; then
|
||||||
ui_print "- PIF module will be removed on next reboot"
|
ui_print "- PIF module will be removed on next reboot"
|
||||||
touch "/data/adb/modules/playintegrityfix/remove"
|
touch "/data/adb/modules/playintegrityfix/remove"
|
||||||
|
|||||||
Reference in New Issue
Block a user