[termux] testing support for termux v10

This commit is contained in:
synt-xerror
2026-03-14 02:19:57 -03:00
parent 97e6b665c7
commit 60768a9ed3

7
setup
View File

@@ -161,12 +161,11 @@ if [[ "$PREFIX" == *"com.termux"* ]]; then
node -e "require('sharp')" >/dev/null 2>&1 && log_ok "sharp OK" && return
log_info "Reconstruindo módulo sharp"
rm -rf node_modules/sharp
export android_ndk_path=""
export GYP_DEFINES="OS=linux"
export npm_config_build_from_source=true
run_cmd npm install sharp --build-from-source
run_cmd npm install sharp
fi
# ------------------------