Skip to content

Make launcher cross-platform#28

Merged
anirudh-bijay-glean merged 8 commits into
mainfrom
anirudh/windows-support
Jul 3, 2026
Merged

Make launcher cross-platform#28
anirudh-bijay-glean merged 8 commits into
mainfrom
anirudh/windows-support

Conversation

@anirudh-bijay-glean

@anirudh-bijay-glean anirudh-bijay-glean commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

What

Replace the launcher script written in Bash (start.sh) with a cross-platform Node.js script.

Why

The Bash script would not run on platforms where Bash is not installed – especially Windows. Moreover, the script itself assumed *nix at places (/tmp, /dev/null, exec). Node.js scripts are fine since Node is already a prerequisite.

Code changes

  • Replace start.sh with equivalent start.mjs.
  • Update .mcp.json/.mcp.codex.json to launch start.mjs.
  • Update README and code comments referring to start.sh.
  • Update version bump check and bundling scripts to include start.mjs.
  • Replace an instance of hardcoded /tmp in index.ts with tmpdir().

Comment thread src/index.ts

@eshwar-sundar-glean eshwar-sundar-glean left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logic from start.sh to start.mjs looks good to me, check on Claude Code, Codex, Cursor with a clean install on your system and check with QA on windows as well before merge.

@anirudh-bijay-glean anirudh-bijay-glean left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The glob for start.sh in 02-auto-bump-version.sh was missed. Reminder to correct to detect start.mjs before merge.

@anirudh-bijay-glean
anirudh-bijay-glean merged commit 02ae0c0 into main Jul 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants