Fixes #98 by giving win32 a 100 length progress bar.

This commit is contained in:
RainbowDashDC
2015-02-15 19:38:35 -08:00
parent 6097c20204
commit bb489a3cb7
+2 -2
View File
@@ -194,7 +194,7 @@ function _downloadNode (version, directory, complete) {
function downloadNode (next) {
if (fs.existsSync(nodeFilePath)) return next();
var url, prefix = "http://nodejs.org/dist";
var url, prefix = "https://nodejs.org/dist";
// pick which url depending on the version
if (version === "latest") {
@@ -453,7 +453,7 @@ function _logProgress (req) {
complete: "=",
incomplete: " ",
total: len,
width: process.stdout.columns - 2
width: ((isWin) ? 100 : process.stdout.columns - 2)
});
req.on("data", function (chunk) {