mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
fix(cli): narrow the open status before returning it
This commit is contained in:
@@ -20,7 +20,7 @@ export async function openLocalOrca(
|
||||
// Relaunching a running Orca would hand it the foreground, so ask it to show its own window.
|
||||
const asked =
|
||||
initial?.result.runtime.reachable === true && (await askToOpenWindow(openWindowInBackground))
|
||||
if (windowStatus === 'available') {
|
||||
if (initial && windowStatus === 'available') {
|
||||
return initial
|
||||
}
|
||||
if (!asked) {
|
||||
|
||||
Reference in New Issue
Block a user