diff options
| author | Jesse Vincent <jesse@fsck.com> | 2026-01-22 14:07:04 -0800 |
|---|---|---|
| committer | Jesse Vincent <jesse@fsck.com> | 2026-01-22 14:07:04 -0800 |
| commit | c3d478dc47c1f5bcc4c8eb85ead8e5a537a9b68f (patch) | |
| tree | e1137706cc1cea5586e58b41f6c5c35a97354dc9 /.codex/superpowers-codex.cmd | |
| parent | e147c303c00a5ca36f61cb8826b5cb72e0884aff (diff) | |
fix: add Windows launcher for Codex CLI (#243, #285)fix/windows-codex-launcher
Windows cannot execute extensionless scripts with shebangs. Added
.cmd wrapper that invokes Node.js directly.
Changes:
- Add .codex/superpowers-codex.cmd (Windows shim)
- Update docs/README.codex.md with Windows installation instructions
- Add Windows troubleshooting section
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to '.codex/superpowers-codex.cmd')
| -rw-r--r-- | .codex/superpowers-codex.cmd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.codex/superpowers-codex.cmd b/.codex/superpowers-codex.cmd new file mode 100644 index 0000000..a214cbe --- /dev/null +++ b/.codex/superpowers-codex.cmd @@ -0,0 +1,14 @@ +@echo off +setlocal + +REM Windows shim for the extensionless Node.js launcher (superpowers-codex). +REM +REM Windows cannot execute extensionless scripts with shebangs, so this wrapper +REM invokes Node.js directly. +REM +REM Usage: +REM superpowers-codex.cmd bootstrap +REM superpowers-codex.cmd use-skill superpowers:brainstorming +REM superpowers-codex.cmd find-skills + +node "%~dp0superpowers-codex" %* |
