You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
274 B

1 month ago
  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%\..\vue-demi\bin\vue-demi-switch.js" %*
  11. ENDLOCAL
  12. EXIT /b %errorlevel%
  13. :find_dp0
  14. SET dp0=%~dp0
  15. EXIT /b