Vendored sashidown, OpenAI-compatible env (OPENAI_*), and bootstrap scripts. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
631 B
Bash
Executable File
19 lines
631 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Assemble dist/windows-x86_64 from MinGW TUI build + busybox.
|
|
set -euo pipefail
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
REL="$ROOT/dist/windows-x86_64"
|
|
EXE="$ROOT/build-win-tui/cst-agent.exe"
|
|
[[ -f "$EXE" ]] || EXE="$ROOT/build-win/cst-agent.exe"
|
|
BB="$ROOT/third_party/busybox/busybox.exe"
|
|
DLL="/usr/x86_64-w64-mingw32/bin/libwinpthread-1.dll"
|
|
|
|
mkdir -p "$REL"
|
|
cp -f "$EXE" "$REL/cst-agent.exe"
|
|
cp -f "$BB" "$REL/busybox.exe"
|
|
cp -f "$ROOT/third_party/busybox/LICENSE.busybox" "$REL/"
|
|
cp -f "$ROOT/docs/README-windows.md" "$REL/"
|
|
[[ -f "$DLL" ]] && cp -f "$DLL" "$REL/"
|
|
ls -la "$REL"
|
|
file "$REL/cst-agent.exe"
|