You've already forked PlayIntegrityFork
mirror of
https://github.com/osm0sis/PlayIntegrityFork.git
synced 2025-09-06 06:37:06 +00:00
Fix detect resetprop
This commit is contained in:
+2
-2
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
RESETPROP="${0%/*}/resetprop"
|
RESETPROP="${0%/*}/resetprop"
|
||||||
|
|
||||||
if [ -x "$RESETPROP" ]; then
|
if [ -e "$RESETPROP" ]; then
|
||||||
chmod 755 $RESETPROP
|
chmod 755 $RESETPROP
|
||||||
else
|
else
|
||||||
RESETPROP="resetprop"
|
RESETPROP="resetprop"
|
||||||
@@ -32,7 +32,7 @@ maybe_set_prop vendor.boot.mode recovery unknown
|
|||||||
|
|
||||||
# Hiding SELinux | Permissive status
|
# Hiding SELinux | Permissive status
|
||||||
if [ -n "$(getprop ro.build.selinux)" ]; then
|
if [ -n "$(getprop ro.build.selinux)" ]; then
|
||||||
resetprop --delete ro.build.selinux
|
$RESETPROP --delete ro.build.selinux
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Hiding SELinux | Use toybox to protect *stat* access time reading
|
# Hiding SELinux | Use toybox to protect *stat* access time reading
|
||||||
|
|||||||
Reference in New Issue
Block a user