You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
fix: not properly switching mount ns
This commit corrects mount namespace code.
This commit is contained in:
@@ -100,7 +100,6 @@ androidComponents.onVariants { variant ->
|
||||
val privKey = kf.generatePrivate(privKeySpec);
|
||||
val sig = Signature.getInstance("ed25519")
|
||||
fun File.sha(realFile: File? = null) {
|
||||
val path = this.path.replace("\\", "/")
|
||||
sig.update(this.name.toByteArray())
|
||||
sig.update(0) // null-terminated string
|
||||
val real = realFile ?: this
|
||||
|
||||
Reference in New Issue
Block a user