From ce8a594870cf7e6eabf79dbad4137bc56e9c17e4 Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 28 Dec 2022 16:27:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=93=E5=8C=85=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rest/custom/download.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest/custom/download.js b/src/rest/custom/download.js index da94e44..5cc0bc3 100644 --- a/src/rest/custom/download.js +++ b/src/rest/custom/download.js @@ -14,7 +14,7 @@ module.exports = { console.log(`${path}=========>${exists}`) if (exists) { execute(`cd ${path}&&zip -r ${info.id}.zip .`) - .then(() => execute(`cd ${path}&&mv ${info.id}.zip ../zips`)) + .then(() => execute(`cd ${path}&&mv ${info.id}.zip ~/../zips/`)) .then(() => { console.log('压缩完成!') setTimeout(() => {