From cf59aed3f99bb25562a387f77640bdeb7d05aee6 Mon Sep 17 00:00:00 2001 From: ThePedroo Date: Sat, 22 Jun 2024 23:51:38 -0300 Subject: [PATCH] add: webroot files to get sign This commit simply adds the webroot files to be also verified the autencity. --- module/build.gradle.kts | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/module/build.gradle.kts b/module/build.gradle.kts index b63eef1..8dc6b39 100644 --- a/module/build.gradle.kts +++ b/module/build.gradle.kts @@ -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