mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 00:02:31 +00:00
chore: reduce root-directory clutter (#1275)
Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
@@ -6,8 +6,8 @@ import { execFileSync } from 'node:child_process'
|
||||
import path from 'node:path'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
|
||||
const repoRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../..')
|
||||
const source = path.join(repoRoot, 'bin', 'orca-dev')
|
||||
const scriptDir = path.dirname(fileURLToPath(import.meta.url))
|
||||
const source = path.join(scriptDir, 'orca-dev')
|
||||
|
||||
const commandPath =
|
||||
process.platform === 'darwin' || process.platform === 'linux'
|
||||
|
||||
Reference in New Issue
Block a user