[termux] testing support for termux v16
This commit is contained in:
9
setup
9
setup
@@ -148,13 +148,8 @@ if [[ "$PREFIX" == *"com.termux"* ]]; then
|
|||||||
|
|
||||||
install_deps "${deps[@]}"
|
install_deps "${deps[@]}"
|
||||||
|
|
||||||
log_info "Usando sharp via WebAssembly"
|
log_info "Instalando sharp"
|
||||||
|
run_cmd npm install --os=linux --foreground-scripts sharp
|
||||||
if node -e "require('@img/sharp-wasm32')" >/dev/null 2>&1; then
|
|
||||||
log_ok "sharp-wasm já instalado"
|
|
||||||
else
|
|
||||||
npm_config_cpu=wasm32 npm install @img/sharp-wasm32
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user