narcello / findead

:mag: Dead react components finder
https://narcello.github.io/findead/
MIT License
75 stars 1 forks source link

Doesn't work on Windows #40

Closed leonbloy closed 3 years ago

leonbloy commented 4 years ago

findead.cmd invokes bash.exe

@IF EXIST "%~dp0\/bin/bash.exe" (
  "%~dp0\/bin/bash.exe"  "%~dp0\pnpm-global\3\node_modules\findead\findead.sh" %*
) ELSE (
  @SETLOCAL
  @SET PATHEXT=%PATHEXT:;.JS;=;%
  /bin/bash  "%~dp0\pnpm-global\3\node_modules\findead\findead.sh" %*
)
narcello commented 4 years ago

Hi, thanks for open issue. On windows I confess that I never test :/

sadeghhosseini commented 4 years ago

You can use it if you have git bashed installed on your system. Just run the commands in git bash.