Fallback to USERPROFILE environment variable

This commit is contained in:
Mattias Erming 2014-10-03 16:42:39 -07:00
parent 4140b9e6fd
commit 17ef33808a
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
module.exports = {
HOME: process.env.HOME + "/.shout",
HOME: (process.env.HOME || process.env.USERPROFILE) + "/.shout",
getConfig: getConfig
};