Skip to content

Instantly share code, notes, and snippets.

View yasershahi's full-sized avatar
🏠
Working from home

Yaser Shahi yasershahi

🏠
Working from home
View GitHub Profile
#!/bin/bash
set -euo pipefail
echo "🔍 Detecting architecture..."
ARCH=$(uname -m)
case "$ARCH" in
x86_64) ARCH_NAME="amd64" ;;
aarch64) ARCH_NAME="arm64" ;;
*) echo "❌ Unsupported architecture: $ARCH"; exit 1 ;;
esac