mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
On a nix-darwin machine node lives only in /etc/profiles/per-user/$USER/bin, which appears in neither additionalPathEntries nor userNodePaths. The CLI shim begins '#!/usr/bin/env node', so the spawn dies with 'env: node: No such file or directory' and exit status 127. GUI apps normally inherit those directories from 'launchctl config user path', stored in /var/db/com.apple.xpc.launchd/config/user.plist, which a macOS system update deletes. Re-applying it is not durable, so name the Nix locations in userNodePaths instead. That feeds both installedArgv() discovery and augmentedPath() interpreter resolution. Also adds ~/.local/bin, the bin directory for the common 'prefix = ~/.local' npm configuration, which installedArgv() could not otherwise discover. Entries are appended, so existing matches keep their precedence. |
||
|---|---|---|
| .. | ||
| Data | ||
| Resources/ProviderIcons | ||
| Security | ||
| Theme | ||
| Views | ||
| AppStore.swift | ||
| AppVersion.swift | ||
| CapacityDockController.swift | ||
| CapacityDockMotion.swift | ||
| CapacityDockPlacement.swift | ||
| CapacityDockPointerUpdateCoalescer.swift | ||
| CodeBurnApp.swift | ||
| CurrencyState.swift | ||
| MenubarScope.swift | ||
| ProviderIcon.swift | ||
| RefreshCadence.swift | ||
| StatusItemContextMenuPolicy.swift | ||
| StatusItemPlacementPolicy.swift | ||