From 02717ba6457214d9915d1985b697f536bcbb8e09 Mon Sep 17 00:00:00 2001 From: KeiferJu Date: Sat, 2 Apr 2022 15:06:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9C=8D=E5=8A=A1=E5=99=A8?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E9=94=99=E8=AF=AF=E5=AF=BC=E8=87=B4=E7=9A=84?= =?UTF-8?q?=E8=A7=A3=E5=8E=8B=E5=A4=B1=E8=B4=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload.js b/upload.js index df1a492..ffaee12 100755 --- a/upload.js +++ b/upload.js @@ -176,7 +176,7 @@ const uploadFiles = async () => { try { loading.text = '正在解压整理部署文件'; - await runCommand(`cd ${config.NAME} && tar -zxvf smx-bundle.tar.gz`); //解压 + await runCommand(`cd ${config.NAME} && tar -mzxvf smx-bundle.tar.gz`); //解压 await runCommand(`rm -rf ${config.PATH}/${config.NAME}/smx-bundle.tar.gz`) //解压完删除线上压缩包