@supercode-sh/claude-install-mac
Version:
Installer for the Supercode Claude Desktop integration on macOS.
10 lines (9 loc) • 472 B
JavaScript
;
// supercode-claude:external-bootstrap-v1
const path = require("node:path");
const root = process.env.SUPERCODE_CLAUDE_STORAGE_ROOT || path.join(require("node:os").homedir(), ".supercode", "claude");
const runtime = require(process.env.SUPERCODE_CLAUDE_MAIN_RUNTIME || path.join(root, "runtime", "main.cjs"));
const start = runtime.startSupercode || runtime.install;
if (typeof start === "function") {
start(require("electron"), require("original-fs"));
}