File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ userInputReader.question(`${promptArrow}${promptLabel}请输入资源所在的
8686 console . log ( `${ promptArrow } ${ promptLabel } 脚本将会自动从 ${ promptValue } ${ baseUrl } ${ promptLabel } 下载任何缺失的资源。` ) ;
8787 console . log ( '--------------------------------------------------------\n' ) ;
8888
89- const httpServerProcess = exec ( `http-server -p ${ port } ` ) ;
89+ const httpServerProcess = exec ( `npx http-server -p ${ port } ` ) ;
9090
9191 httpServerProcess . stdout . on ( 'data' , async ( data ) => {
9292 const output = data . toString ( ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " resource-save-script" ,
3- "version" : " 1.0.8 " ,
3+ "version" : " 1.0.9 " ,
44 "description" : " HTTP server with auto-download capability" ,
55 "homepage" : " https://github.com/luckfunc/resource-save-script#readme" ,
66 "bugs" : {
You can’t perform that action at this time.
0 commit comments