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.
This commit is contained in:
ThePedroo
2025-05-18 12:42:39 -03:00
parent 5b2065768c
commit 6d7eda4ea6

View File

@@ -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)