Try to get Windows shell-path from environment variables.
This commit is contained in:
parent
f5d4a8231f
commit
e552f97db1
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
var
|
||||
IS_WIN = process.platform === 'win32',
|
||||
SHELL_PATH = IS_WIN ? 'cmd.exe' : '/bin/sh',
|
||||
SHELL_PATH = IS_WIN ? process.env.comspec || 'cmd.exe' : '/bin/sh',
|
||||
SHELL_CMD = __dirname + (IS_WIN ? '\\read.bat' : '/read.sh'),
|
||||
ALGORITHM_CIPHER = 'aes-256-cbc',
|
||||
ALGORITHM_HASH = 'sha256',
|
||||
|
|
Loading…
Reference in a new issue