Fix Windows/PowerShell invocation of superpowers-codex

Windows doesn't respect shebangs, so directly invoking the extensionless
superpowers-codex script triggers an "Open with" dialog. Prefix all
invocations with `node` (harmless on Unix, required on Windows) and add
a .cmd wrapper for manual invocation on Windows.

Fixes #285, #243

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Drew Ritter
2026-02-05 11:18:56 -08:00
parent 038abed026
commit 6cc2d8c920
4 changed files with 12 additions and 11 deletions

View File

@@ -0,0 +1 @@
@node "%~dp0superpowers-codex" %*