← Files NightshiftARCHIVED FILE

hooks/dispatch/claude-hardhat.ps1

606 Bytes · Oct 5, 2026 · 18:31 UTC

↓ Download file

#!/bin/sh
echo --% >/dev/null;: ' | Out-Null
<#'
case "${OS:-}:$(uname -s 2>/dev/null)" in
  Windows_NT:* | *:MINGW* | *:MSYS* | *:CYGWIN*)
    script="$CLAUDE_PLUGIN_ROOT/hooks/windows/hardhat.ps1"
    command -v cygpath >/dev/null 2>&1 && script="$(cygpath -w "$script")"
    exec powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "$script" -HostName claude
    ;;
esac
exec "$CLAUDE_PLUGIN_ROOT/hooks/hardhat.sh"
exit #>
powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "$env:CLAUDE_PLUGIN_ROOT\hooks\windows\hardhat.ps1" -HostName claude
exit $LASTEXITCODE

SHA-256: ad87255bfa9955e11f09e3606489f027065e1625008521860fa4191edf592fa6