Pick a file in Files to edit it here.
209 + emu="${repo}/platforms/mac/emuctl.sh"
210 + if [ "$sub" = "shot" ]; then
211 + _ssh "$name" "bash '${emu}' shot /tmp/reactor-emu-shot.png" >/dev/null 2>&1 || die "emu shot failed (no emulator running?)"
212 + local dest="${UPLOADS_SHARED}/${name}"; mkdir -p "$dest"
213 + _scp "$name" "/tmp/reactor-emu-shot.png" "${dest}/emu-latest.png" || die "pull failed"
214 + echo "${dest}/emu-latest.png"
215 + else
216 + _ssh "$name" "bash '${emu}' $*"
217 + fi
218 +}
219 +
220 usage(){ sed -n '2,20p' "${BASH_SOURCE[0]}" | sed 's/^# \{0,1\}//'; }
221
222 main(){
● Update(tools/reactor_control/reactor-build)
⎿ Added 1 line
230 offload) cmd_offload "$@" ;;
231 result) cmd_result "$@" ;;
232 watch) cmd_watch "$@" ;;
233 + emu) [ "$#" -ge 1 ] || die "usage: reactor-build emu <name> <cmd> [args]"; cmd_emu "$@" ;;
234 shot) [ "$#" -ge 1 ] || die "usage: reactor-build shot <name> [app]"; cmd_shot "$@" ;;
235 shell) [ "$#" -ge 1 ] || die "usage: reactor-build shell <name>"; cmd_shell "$@" ;;
236 help|-h|--help) usage ;;
✻ Clauding… (9m 41s · ↓ 35.9k tokens · thinking with max effort)
⎿ Tip: Use /btw to ask a quick side question without interrupting Claude's current work
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── continue-conversation ──
❯