mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
feature(terminal) dir : home -> DIR
This commit is contained in:
parent
16d57dc503
commit
d886af1678
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
'use strict';
|
||||
|
||||
var main = global.cloudcmd.main,
|
||||
|
||||
DIR = main.DIR,
|
||||
socket = main.socket,
|
||||
spawn = main.child_process.spawn,
|
||||
pty = main.require('pty.js'),
|
||||
|
|
@ -84,7 +84,7 @@
|
|||
name: 'xterm-color',
|
||||
cols: 80,
|
||||
rows: 25,
|
||||
cwd : process.env.HOME,
|
||||
cwd : DIR,
|
||||
env : process.env
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue