fix: zdefend-fix(customize.sh): app installation failure does not exit

Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
Cuynu 2026-05-01 21:07:43 +07:00
commit f1a4011be6
Signed by: cuynu
GPG key ID: 1F01341D0B42B51A

View file

@ -103,8 +103,7 @@ selinuxhandle() {
echo "Forcing SELinux state to Enforcing..."
setenforce enforcing
echo "Reinstalling app..."
[ $(pm install $APKPATH | grep Success) ] && echo "Successful reinstall app!" || echo "App not getting installed, please check if CorePatch / Disable App Verification is working or not!" || exit 1
echo "Getting new APK path..."
[ $(pm install $APKPATH | grep Success) ] && echo "Successful reinstall app!" || echo "App not getting installed, please check if CorePatch / Disable App Verification is working or not!" && exit 1
getapkpath
}