File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/render/components/Host/CreateProject Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 181181 loading .value = true
182182 const form = ProjectSetup .form .NodeJS
183183 const execXTerm = new XTerm ()
184- const item = app .value .list .find ((f ) => f .version === form .version )
184+ const item: any = app .value .list .find ((f ) => f .version === form .version )
185185 const command: string [] = []
186186 if (window .Server .Proxy ) {
187187 for (const k in window .Server .Proxy ) {
200200 )
201201 }
202202 command .push (` cd "${form .dir }" ` )
203- const arr = item ?.command ?.split (' ;' ) ?? []
203+ const arr = item ?.commandWin ?. split ( ' ; ' ) ?? item ?. command ?.split (' ;' ) ?? []
204204 command .push (... arr )
205205
206206 nextTick ().then (() => {
Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ const version = {
6565 {
6666 name : 'latest' ,
6767 version : '*' ,
68- command : 'npm i -g @nestjs/cli;Start-Sleep -Seconds 1.5;nest new'
68+ command : 'npm i -g @nestjs/cli; sleep 1.5; nest new' ,
69+ commandWin : 'npm i -g @nestjs/cli;Start-Sleep -Seconds 1.5;nest new'
6970 }
7071 ]
7172 }
You can’t perform that action at this time.
0 commit comments