nuxt-telemetry.cmd 280 B

1234567891011121314151617
  1. @ECHO off
  2. SETLOCAL
  3. CALL :find_dp0
  4. IF EXIST "%dp0%\node.exe" (
  5. SET "_prog=%dp0%\node.exe"
  6. ) ELSE (
  7. SET "_prog=node"
  8. SET PATHEXT=%PATHEXT:;.JS;=;%
  9. )
  10. "%_prog%" "%dp0%\..\@nuxt\telemetry\bin\nuxt-telemetry.js" %*
  11. ENDLOCAL
  12. EXIT /b %errorlevel%
  13. :find_dp0
  14. SET dp0=%~dp0
  15. EXIT /b