Root Installer Fix v9001

This commit is contained in:
ostajic 2020-10-10 15:01:45 +02:00
parent 84a525c3ef
commit 8453aa4d14
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ object PackageHelper {
private fun setupScript(apkFPath: String, path: String): Boolean
{
if(Shell.su("""echo "#!/system/bin/sh\nwhile [ "${'$'}(getprop sys.boot_completed)" != 1 ];\ndo sleep 1;\ndone;\nmount -o bind $apkFPath $path" > /data/adb/service.d/vanced.sh""").exec().isSuccess)
if(Shell.su("""echo "#!/system/bin/sh\nwhile [ \"${'$'}(getprop sys.boot_completed)\" != 1 ];\ndo sleep 1;\ndone;\nmount -o bind $apkFPath $path" > /data/adb/service.d/vanced.sh""").exec().isSuccess)
{
return Shell.su("chmod 744 /data/adb/service.d/vanced.sh").exec().isSuccess
}