fixing the installation issue

This commit is contained in:
2026-01-27 23:49:48 -05:00
parent 7f4a23a4db
commit 44b78aefae
4 changed files with 14 additions and 6 deletions

View File

@@ -56,7 +56,7 @@ if (!result.success) {
// Update shebang to use node
const distPath = join(ROOT_DIR, "dist/index.js");
let distContent = await readFile(distPath, "utf-8");
distContent = distContent.replace(/^#!.*\n/, "#!/usr/bin/env node\n");
distContent = distContent.replace(/^#!.*\n/, "#!/usr/bin/env bun\n");
await writeFile(distPath, distContent);
console.log("Build completed successfully!");