Skip to content

Conversation

@doggy8088
Copy link

Fixes #3 - Windows PowerShell cannot execute .sh scripts without additional tools like Git Bash, WSL, or Cygwin.

Changes:

  • Convert hooks/stop-hook.sh to hooks/stop-hook.js
  • Convert scripts/cancel.sh to scripts/cancel.js
  • Convert scripts/setup.sh to scripts/setup.js
  • Convert tests/hook_test.sh to tests/hook_test.js
  • Convert tests/setup_test.sh to tests/setup_test.js
  • Update hooks/hooks.json to reference stop-hook.js
  • Update commands/ralph/cancel.toml to use node with cancel.js
  • Update commands/ralph/loop.toml to use node with setup.js
  • Update README.md to reflect new .js file references

All scripts now use Node.js built-in modules (fs, path, child_process) with no external dependencies, ensuring compatibility across Windows, macOS, and Linux platforms.

Fixes gemini-cli-extensions#3 - Windows PowerShell cannot execute .sh scripts without additional
tools like Git Bash, WSL, or Cygwin.

Changes:
- Convert hooks/stop-hook.sh to hooks/stop-hook.js
- Convert scripts/cancel.sh to scripts/cancel.js
- Convert scripts/setup.sh to scripts/setup.js
- Convert tests/hook_test.sh to tests/hook_test.js
- Convert tests/setup_test.sh to tests/setup_test.js
- Update hooks/hooks.json to reference stop-hook.js
- Update commands/ralph/cancel.toml to use node with cancel.js
- Update commands/ralph/loop.toml to use node with setup.js
- Update README.md to reflect new .js file references

All scripts now use Node.js built-in modules (fs, path, child_process)
with no external dependencies, ensuring compatibility across Windows,
macOS, and Linux platforms.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PowerShell (pwsh) unable to run hooks/stop-hook.sh on Windows

1 participant