mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-29 23:03:04 +07:00
7 lines
194 B
Batchfile
7 lines
194 B
Batchfile
|
@IF EXIST "%~dp0\node.exe" (
|
||
|
"%~dp0\node.exe" "%~dp0\..\escodegen\bin\escodegen.js" %*
|
||
|
) ELSE (
|
||
|
@SETLOCAL
|
||
|
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||
|
node "%~dp0\..\escodegen\bin\escodegen.js" %*
|
||
|
)
|