makepad/tools/winps_file.sh
andodeki d6d1f99ca9 Update fork to upstream dev 5d4483f
- Sync with latest upstream dev branch
- Include all map improvements: 2D/3D toggle, shadows, labels, overlays
- Include platform updates: location API, audio echo cancellation
- Preserve fork-specific re-exports (gltf, csg, test)
2026-07-31 18:47:03 +00:00

17 lines
351 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if [[ $# -ne 1 ]]; then
echo "usage: $(basename "$0") <script.ps1>" >&2
exit 2
fi
SCRIPT_PATH="$1"
if [[ ! -f "$SCRIPT_PATH" ]]; then
echo "missing script file: $SCRIPT_PATH" >&2
exit 1
fi
exec "$SCRIPT_DIR/winps.sh" < "$SCRIPT_PATH"