mirror of
https://github.com/nexu-io/open-design.git
synced 2026-10-27 09:51:12 +01:00
* feat(pack): add mac packaged runtime control plane * feat(pack): harden mac packaged runtime lifecycle Keep packaged state namespace-scoped, make daemon paths explicit through sidecar launch env, and add conservative desktop identity/logging fallbacks for local mac package validation. * feat(pack): add mac beta release flow * fix(pack): generate mac update feed fallback * fix(pack): write portable beta checksums * fix(pack): make beta artifacts portable * fix(pack): clean up mac install visuals * fix(pack): address packaged runtime review feedback
17 lines
495 B
JavaScript
Executable File
17 lines
495 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
import { existsSync } from "node:fs";
|
|
import { dirname, resolve } from "node:path";
|
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
|
|
const entryDir = dirname(fileURLToPath(import.meta.url));
|
|
const distEntry = resolve(entryDir, "../dist/index.mjs");
|
|
|
|
if (!existsSync(distEntry)) {
|
|
throw new Error(
|
|
`tools-pack dist entry not found at ${distEntry}. Run "pnpm --filter @open-design/tools-pack build" first.`,
|
|
);
|
|
}
|
|
|
|
await import(pathToFileURL(distEntry).href);
|