forked from BasedHardware/omi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathomi-jit-qa
More file actions
executable file
·28 lines (24 loc) · 765 Bytes
/
Copy pathomi-jit-qa
File metadata and controls
executable file
·28 lines (24 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
MACOS_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
if [ "$#" -lt 1 ]; then
echo "Usage: scripts/omi-jit-qa <local-dev-gcp|deployed-dev|cloud-qa> [run.sh options]" >&2
exit 2
fi
target="$1"
shift
case "$target" in
local-dev-gcp|deployed-dev|cloud-qa) ;;
*)
echo "ERROR: target must be local-dev-gcp, deployed-dev, or cloud-qa" >&2
exit 2
;;
esac
export OMI_APP_NAME="omi-jit-qa"
export OMI_JIT_QA_TARGET="$target"
# The reserved bundle starts with an empty Rewind profile. Copying production
# screenshots/history into a dev-routed app is never an implicit launch step.
export OMI_SKIP_REWIND_SEED=1
cd "$MACOS_ROOT"
exec "$MACOS_ROOT/run.sh" "$@"