setup-dotnet/node_modules/.bin/xml2js.cmd

7 lines
192 B
Batchfile
Raw Normal View History

2019-09-10 01:27:23 +08:00
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\fast-xml-parser\cli.js" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\fast-xml-parser\cli.js" %*
)