You've already forked PlayIntegrityFork
mirror of
https://github.com/osm0sis/PlayIntegrityFork.git
synced 2025-09-06 06:37:06 +00:00
Fix persist prop deletion
This commit is contained in:
@@ -16,9 +16,9 @@ persistprop() {
|
|||||||
|
|
||||||
if ! grep -q "$NAME" $MODPATH/uninstall.sh 2>/dev/null; then
|
if ! grep -q "$NAME" $MODPATH/uninstall.sh 2>/dev/null; then
|
||||||
if [ "$CURVALUE" ]; then
|
if [ "$CURVALUE" ]; then
|
||||||
[ "$NEWVALUE" = "$CURVALUE" ] || echo "resetprop -n -p \"$NAME\" \"$CURVALUE\"" >> $MODPATH/uninstall.sh
|
[ "$NEWVALUE" = "$CURVALUE" ] || echo "resetprop -n -p \"$NAME\" \"$CURVALUE\"" >> $MODPATH/uninstall.sh
|
||||||
else
|
else
|
||||||
echo "resetprop --delete \"$NAME\"" >> $MODPATH/uninstall.sh
|
echo "resetprop -p --delete \"$NAME\"" >> $MODPATH/uninstall.sh
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
resetprop -n -p "$NAME" "$NEWVALUE"
|
resetprop -n -p "$NAME" "$NEWVALUE"
|
||||||
|
|||||||
Reference in New Issue
Block a user