mirror of
https://github.com/stablyai/orca.git
synced 2026-10-28 16:02:55 +00:00
fix(macos): honor computer-use bundle id override in native orchestrator
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
import { spawnSync } from 'node:child_process'
|
||||
import { resolveMacosPackageBundleIdentifiers } from './macos-package-bundle-identifiers.mjs'
|
||||
import {
|
||||
resolveMacosComputerUseBundleId,
|
||||
resolveMacosPackageBundleIdentifiers
|
||||
} from './macos-package-bundle-identifiers.mjs'
|
||||
|
||||
const { appBundleId, computerUseBundleId } = resolveMacosPackageBundleIdentifiers()
|
||||
const { appBundleId } = resolveMacosPackageBundleIdentifiers()
|
||||
// Why: resolves through the ORCA_COMPUTER_MACOS_BUNDLE_ID escape hatch so an
|
||||
// explicit override still wins over the derived package identity.
|
||||
const computerUseBundleId = resolveMacosComputerUseBundleId()
|
||||
|
||||
if (process.platform === 'win32') {
|
||||
runNodeScript('config/scripts/build-windows-cli-launcher.mjs')
|
||||
|
||||
Reference in New Issue
Block a user