forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src: rename node to io.js for Windows installer
* quote "NODE_VERSION_STRING" in node.rc to allow for complex version strings * change user-facing strings * make sure .bat files are crlf PR-URL: nodejs#291 Reviewed-By: Bert Belder <bertbelder@gmail.com> Reviewed-By: Nikolai Vavilov <vvnicholas@gmail.com>
- Loading branch information
Showing
6 changed files
with
43 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
test/fixtures/* -text | ||
*.bat text eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
@echo off | ||
|
||
rem Ensure this Node.js and npm are first in the PATH | ||
rem Ensure this io.js and npm are first in the PATH | ||
set PATH=%APPDATA%\npm;%~dp0;%PATH% | ||
|
||
setlocal enabledelayedexpansion | ||
pushd "%~dp0" | ||
|
||
rem Figure out the node version. | ||
rem Figure out the io.js version. | ||
set print_version=.\iojs.exe -p -e "process.versions.node + ' (' + process.arch + ')'" | ||
for /F "usebackq delims=" %%v in (`%print_version%`) do set version=%%v | ||
|
||
rem Print message. | ||
if exist npm.cmd ( | ||
echo Your environment has been set up for using Node.js !version! and npm. | ||
echo Your environment has been set up for using io.js !version! and npm. | ||
) else ( | ||
echo Your environment has been set up for using Node.js !version!. | ||
echo Your environment has been set up for using io.js !version!. | ||
) | ||
|
||
popd | ||
endlocal | ||
|
||
rem If we're in the node.js directory, change to the user's home dir. | ||
rem If we're in the io.js directory, change to the user's home dir. | ||
if "%CD%\"=="%~dp0" cd /d "%HOMEDRIVE%%HOMEPATH%" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters