[termux] testing support for termux v12
This commit is contained in:
@@ -7,7 +7,6 @@
|
|||||||
"node-gyp": "^12.2.0",
|
"node-gyp": "^12.2.0",
|
||||||
"qrcode-terminal": "^0.12.0",
|
"qrcode-terminal": "^0.12.0",
|
||||||
"sharp": "^0.34.5",
|
"sharp": "^0.34.5",
|
||||||
"whatsapp-web.js": "^1.24.0",
|
"whatsapp-web.js": "^1.24.0"
|
||||||
"@img/sharp-wasm": "^0.34.5"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
5
setup
5
setup
@@ -150,10 +150,10 @@ if [[ "$PREFIX" == *"com.termux"* ]]; then
|
|||||||
|
|
||||||
log_info "Usando sharp via WebAssembly"
|
log_info "Usando sharp via WebAssembly"
|
||||||
|
|
||||||
if node -e "require('@img/sharp-wasm')" >/dev/null 2>&1; then
|
if node -e "require('@img/sharp-wasm32')" >/dev/null 2>&1; then
|
||||||
log_ok "sharp-wasm já instalado"
|
log_ok "sharp-wasm já instalado"
|
||||||
else
|
else
|
||||||
run_cmd npm install @img/sharp-wasm
|
run_cmd npm install @img/sharp-wasm32
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -164,7 +164,6 @@ log_info "Instalando dependências npm"
|
|||||||
|
|
||||||
export PUPPETEER_SKIP_DOWNLOAD=1
|
export PUPPETEER_SKIP_DOWNLOAD=1
|
||||||
run_cmd npm install
|
run_cmd npm install
|
||||||
run_cmd npm ci
|
|
||||||
|
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Diretórios
|
# Diretórios
|
||||||
|
|||||||
Reference in New Issue
Block a user