feat: auto install tui deps

This commit is contained in:
Brooklyn Nicholson
2026-04-08 09:46:40 -05:00
parent af077b2c0d
commit a3cfb1de86
3 changed files with 36 additions and 3 deletions

View File

@@ -916,6 +916,16 @@ install_node_deps() {
log_success "Browser engine installed"
fi
# Install TUI dependencies
if [ -f "$INSTALL_DIR/ui-tui/package.json" ]; then
log_info "Installing TUI dependencies..."
cd "$INSTALL_DIR/ui-tui"
npm install --silent 2>/dev/null || {
log_warn "TUI npm install failed (hermes --tui may not work)"
}
log_success "TUI dependencies installed"
fi
# Install WhatsApp bridge dependencies
if [ -f "$INSTALL_DIR/scripts/whatsapp-bridge/package.json" ]; then
log_info "Installing WhatsApp bridge dependencies..."