From 60768a9ed3bd914774939bacb1211c581fe8b452 Mon Sep 17 00:00:00 2001 From: synt-xerror <169557594+synt-xerror@users.noreply.github.com> Date: Sat, 14 Mar 2026 02:19:57 -0300 Subject: [PATCH] [termux] testing support for termux v10 --- setup | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/setup b/setup index f31a327..64e65db 100755 --- a/setup +++ b/setup @@ -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 # ------------------------