Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit c86a849

Browse files
committed
完善 解压缩功能
1 parent ba40fa2 commit c86a849

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/common/compress.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,9 @@ async function linuxZip(sourceZip: string, files: string[]) {
132132
if (!files || files.length == 0) return false;
133133
return new Promise((resolve, reject) => {
134134
files = files.map((v) => path.normalize(path.basename(v)));
135-
console.log("linuxZip:", ["-r", sourceZip, ...files]);
136135
const process = child_process.spawn("zip", ["-r", sourceZip, ...files], {
137136
cwd: path.normalize(path.dirname(sourceZip))
138137
});
139-
process.stdout.on("data", (data) => {
140-
console.log(data.toString("utf-8"));
141-
});
142138
if (!process || !process.pid) return reject(false);
143139
process.on("exit", (code) => {
144140
if (code) return reject(false);

0 commit comments

Comments
 (0)