From 6d7eda4ea69f7fc43b5bff9b8e21309d7001bd88 Mon Sep 17 00:00:00 2001 From: ThePedroo Date: Sun, 18 May 2025 12:42:39 -0300 Subject: [PATCH] fix: extracting sha256 sum of `webroot` files This commit fixes the issue where "webroot" files would have its sha256 hash extracted to the installation directory by using unzip "-x" flag to exclude ".sha256" files with that. --- module/src/customize.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/src/customize.sh b/module/src/customize.sh index 907159b..7251da4 100644 --- a/module/src/customize.sh +++ b/module/src/customize.sh @@ -110,7 +110,7 @@ mkdir "$MODPATH/bin" mkdir "$MODPATH/webroot" ui_print "- Extracting webroot" -unzip -o "$ZIPFILE" "webroot/*" -d "$MODPATH" +unzip -o "$ZIPFILE" "webroot/*" -x "*.sha256" -d "$MODPATH" CPU_ABIS=$(getprop ro.product.cpu.abilist)