You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
add: webroot files to get sign
This commit simply adds the webroot files to be also verified the autencity.
This commit is contained in:
@@ -162,12 +162,15 @@ androidComponents.onVariants { variant ->
|
||||
root.file("bin/$abi64/zygiskd").asFile
|
||||
)
|
||||
)
|
||||
set.add(
|
||||
Pair(
|
||||
root.file("webroot/index.html").asFile,
|
||||
null
|
||||
)
|
||||
)
|
||||
set.add(Pair(root.file("webroot/index.html").asFile, null))
|
||||
set.add(Pair(root.file("webroot/js/main.js").asFile, null))
|
||||
set.add(Pair(root.file("webroot/js/kernelsu.js").asFile, null))
|
||||
set.add(Pair(root.file("webroot/fonts/ProductSans-Regular.ttf").asFile, null))
|
||||
set.add(Pair(root.file("webroot/fonts/ProductSans-Italic.ttf").asFile, null))
|
||||
set.add(Pair(root.file("webroot/css/index.css").asFile, null))
|
||||
set.add(Pair(root.file("webroot/css/fonts.css").asFile, null))
|
||||
set.add(Pair(root.file("webroot/assets/mark.svg").asFile, null))
|
||||
set.add(Pair(root.file("webroot/assets/tick.svg").asFile, null))
|
||||
sig.initSign(privKey)
|
||||
set.forEach { it.first.sha(it.second) }
|
||||
val signFile = root.file(name).asFile
|
||||
|
||||
Reference in New Issue
Block a user