From ecd11449833812bd59f010b95138f4abcb2cef25 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 23 Jan 2012 10:50:24 -0800 Subject: [PATCH] windows: move to fully qualified HOME by using USERPROFILE - closes #1193 - refs #1200 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e540f2d71..d895d430b 100755 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ process.argv[0] = 'node'; if (process.platform === 'win32') { // HOME is undefined on windows - process.env.HOME = process.env.HOMEPATH; + process.env.HOME = process.env.USERPROFILE; // don't attempt symlink support at all -- just copy. // @TODO write a dotfile next to the copy with the link