alpha repo init

This commit is contained in:
2025-12-21 16:25:17 +00:00
parent ad83ae84e4
commit 268af8d691
2308 changed files with 11155 additions and 148 deletions

View File

@@ -474,6 +474,28 @@ install_dependencies() {
exit 1
fi
# Install Rust compiler (for TUI)
echo " Installing Rust compiler..."
if ! command -v rustc &>/dev/null; then
# Install rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
source "$HOME/.cargo/env" || {
# If source fails, add to PATH manually
export PATH="$HOME/.cargo/bin:$PATH"
}
fi
# Verify Rust installation
if command -v rustc &>/dev/null || [ -f "$HOME/.cargo/bin/rustc" ]; then
if [ -f "$HOME/.cargo/bin/rustc" ]; then
export PATH="$HOME/.cargo/bin:$PATH"
fi
RUST_VERSION=$(rustc --version 2>/dev/null | awk '{print $2}' || echo "installed")
echo -e "${GREEN} ✓ Rust $RUST_VERSION installed${NC}"
else
echo -e "${YELLOW}Warning: Rust installation may need manual setup${NC}"
fi
# Install additional utilities
echo " Installing additional utilities..."
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq \