Fix file permission

This commit is contained in:
vvb2060 2023-06-27 02:27:04 +08:00 committed by John Wu
parent a470ee6f93
commit d0b8c16651

View File

@ -115,6 +115,7 @@ abstract class MagiskInstallImpl protected constructor(
val name = n.substring(3, n.length - 3)
val dest = File(installDir, name)
zf.getInputStream(it).writeTo(dest)
dest.setExecutable(true)
}
} else {
val info = context.applicationInfo