mirror of
https://github.com/nightly-labs/openbot.git
synced 2026-12-03 22:34:56 +08:00
* Fix remote production image dependencies * Harden live WebRTC transfer verification * Isolate the live WebRTC smoke test * Remove cloudflared from release builds * Handle small final WebRTC smoke chunks * Align WebRTC send command timeout
15 lines
438 B
Bash
Executable File
15 lines
438 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
script_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
|
repository_root=$(CDPATH= cd -- "$script_dir/../.." && pwd)
|
|
dotenvx_cli="${DOTENVX_CLI:-$repository_root/node_modules/@dotenvx/dotenvx/src/cli/dotenvx.js}"
|
|
|
|
if [ -x "$repository_root/runtime/node/bin/node" ]; then
|
|
node_executable="$repository_root/runtime/node/bin/node"
|
|
else
|
|
node_executable=$(command -v node)
|
|
fi
|
|
|
|
exec "$node_executable" "$dotenvx_cli" "$@"
|