mirror of
https://github.com/merlinhu1/codex-game-studio.git
synced 2026-08-25 07:54:34 +02:00
9 lines
268 B
Bash
Executable File
9 lines
268 B
Bash
Executable File
#!/usr/bin/env sh
|
|
set -eu
|
|
SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
|
if [ ! -f "$SCRIPT_DIR/dist/cli.js" ]; then
|
|
echo "Codex Game Studio needs a built checkout. Run: npm install && npm run build" >&2
|
|
exit 1
|
|
fi
|
|
exec node "$SCRIPT_DIR/dist/cli.js" "$@"
|