Skip to content
This repository has been archived by the owner on Dec 24, 2018. It is now read-only.

Commit

Permalink
Alias iojs to node
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Jan 18, 2015
1 parent de24de1 commit 9cd284e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions iojs.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
:: Created by nvmw, please don't edit manually.
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" %*
) ELSE (
node %*
)
4 changes: 4 additions & 0 deletions nvmw.bat
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ if not exist "%NODE_EXE_FILE%" (
echo Download %NODE_EXE_FILE% from %NODE_EXE_URL% failed
goto install_error
) else (
if %NODE_TYPE% == iojs (
copy "%NVMW_HOME%\iojs.cmd" "%NODE_HOME%\iojs.cmd"
)

echo Start install npm

"%NODE_EXE_FILE%" "%NVMW_HOME%\get_npm.js" "%NODE_HOME%" "%NODE_TYPE%/%NODE_VERSION%"
Expand Down

0 comments on commit 9cd284e

Please sign in to comment.