mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(package) add support of cwd in TerminalRun with help of gritty v4.7.0
This commit is contained in:
parent
4914c22b5d
commit
fe9723fa15
2 changed files with 3 additions and 1 deletions
|
|
@ -100,12 +100,14 @@ function getEnv() {
|
|||
|
||||
function create(createOptions) {
|
||||
const {
|
||||
cwd = DOM.getCurrentDirPath(),
|
||||
command,
|
||||
autoClose,
|
||||
closeMessage = 'Press any key to close Terminal...',
|
||||
} = createOptions;
|
||||
|
||||
const options = {
|
||||
cwd,
|
||||
env: getEnv(),
|
||||
prefix: getPrefixSocket(),
|
||||
socketPath: CloudCmd.prefix,
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@
|
|||
"extract-text-webpack-plugin": "^4.0.0-alpha.0",
|
||||
"fast-async": "^7.0.6",
|
||||
"file-loader": "^3.0.1",
|
||||
"gritty": "^4.6.0",
|
||||
"gritty": "^4.7.0",
|
||||
"gunzip-maybe": "^1.3.1",
|
||||
"html-looks-like": "^1.0.2",
|
||||
"html-webpack-plugin": "^3.0.7",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue