修复打包路径

This commit is contained in:
aixianling
2022-12-28 16:27:37 +08:00
parent 4988586397
commit ce8a594870

View File

@@ -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(() => {