Drop the archived old/ tree, root AI notes, splashgame.md (Arcade lives in the private sandbox), widgets-dll leftovers, and LAN/oracle helper scripts. Move download_*.sh into tools/, and move sim/math out of libs/game/ so the public repo no longer has a game/ directory. Also quiet first-party compile noise and skip asset-ui tests that need sandbox kits or uncommitted fixtures.
19 lines
478 B
Bash
Executable file
19 lines
478 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
cd "$ROOT"
|
|
|
|
URL="https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-large-v3-turbo.bin?download=true"
|
|
OUT="${1:-ggml-large-v3-turbo.bin}"
|
|
TMP="${OUT}.part"
|
|
|
|
if [[ -f "${OUT}" ]]; then
|
|
echo "Model already exists: ${OUT}"
|
|
exit 0
|
|
fi
|
|
|
|
echo "Downloading ${OUT}..."
|
|
curl -L --fail --retry 3 --retry-delay 2 -o "${TMP}" "${URL}"
|
|
mv "${TMP}" "${OUT}"
|
|
echo "Done: ${OUT}"
|