#!/usr/bin/env bash set -euo pipefail while true; do clear || true echo 'MAX 统一启动器' echo '1. Linux 工具目录' echo '2. Catalog 摘要' echo '3. 校验说明 URL' echo 'q. 退出' read -rp '选择: ' x case "$x" in 1) curl -fsSL https://dl.unvmax.com/api/catalog.json | python3 - <<'PY' import sys,json c=json.load(sys.stdin) for s in c['scripts']: if s['platform']=='linux': print(s['risk_label'], s['name'], '\n ', s['command']) PY read -rp 'Enter 继续...' _;; 2) curl -fsSL https://dl.unvmax.com/health.json; echo;; 3) echo https://dl.unvmax.com/verify.html;; q|Q) exit 0;; esac done