Files
orca/src
Brennan Bensonandbrennanb2025 f768e6b503 Run the packaged orca CLI even when an Orca GUI instance holds the single-instance lock (#6542)
On Windows the bundled orca.cmd runs Orca.exe with the unpacked CLI
entrypoint and ELECTRON_RUN_AS_NODE=1. When that env var is dropped, Orca
boots as a GUI, loses the single-instance lock to an already-running
window, and exits silently with no stdout.

Add a packaged-CLI-entry redirect that detects a Windows launch whose argv
carries the known in-package CLI entrypoint and re-runs it in Electron node
mode before the single-instance lock gate can bounce it, then exits with the
CLI's status. Mirrors the existing maybeRedirectAppImageCliLaunch pattern.

Fixes #5774

Co-authored-by: brennanb2025 <brennanb2025@users.noreply.github.com>
2026-06-28 00:58:57 -07:00
..