makepad/tools/winps_stage.sh
Admin 9d2e17e3b9 chore: README, workspace, agent docs, and the box-driving scripts
- README: a build quick-start for macOS and Windows, the honest Linux
    story, what CUDA is for and how to install the separation model.
  - AGENTS.md: the `--remote` control surface protocol, so the harness it
    documents is usable without reading platform/src/remote.rs.
  - Cargo.toml: workspace membership for the crates this series adds and
    removes.
  - tools/: the Windows box scripts (wincmd, winps and friends, winrun) and
    remote_smoke.sh — how a build gets driven on a remote machine.
  - apps/asset-server: the standalone server binary and its README.
  - Small follow-ups in libs/{windows,apple_sys,makepad_test,mbtile_reader,
    converse} and apps/route, plus .gitignore and makepad.splash.
2026-08-23 01:34:36 +02:00

18 lines
340 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
if [[ $# -ne 1 ]]; then
echo "usage: $(basename "$0") <script.ps1>" >&2
exit 2
fi
SCRIPT_PATH="$1"
STAGED_PATH="/tmp/codex_win_remote.ps1"
if [[ ! -f "$SCRIPT_PATH" ]]; then
echo "missing script file: $SCRIPT_PATH" >&2
exit 1
fi
cp "$SCRIPT_PATH" "$STAGED_PATH"
echo "$STAGED_PATH"