Commit efb38a0a authored by Cédric Moreau's avatar Cédric Moreau
Browse files

Fix: directory.js failed on windows

parent bc75b830
......@@ -4,7 +4,7 @@ var opts = require('optimist').argv;
var path = require('path');
const DEFAULT_DOMAIN = "ucoin_default";
const DEFAULT_HOME = ((process.env.HOME || process.env.HOMEPATH || process.env.USERPROFILE) + '/.config/ucoin/');
const DEFAULT_HOME = (process.platform == 'win32' ? process.env.USERPROFILE : process.env.HOME) + '/.config/ucoin/';
module.exports = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment