mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-04-08 06:54:29 +00:00
Fix file permission
This commit is contained in:
parent
a470ee6f93
commit
d0b8c16651
@ -115,6 +115,7 @@ abstract class MagiskInstallImpl protected constructor(
|
|||||||
val name = n.substring(3, n.length - 3)
|
val name = n.substring(3, n.length - 3)
|
||||||
val dest = File(installDir, name)
|
val dest = File(installDir, name)
|
||||||
zf.getInputStream(it).writeTo(dest)
|
zf.getInputStream(it).writeTo(dest)
|
||||||
|
dest.setExecutable(true)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
val info = context.applicationInfo
|
val info = context.applicationInfo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user