forked from mirror/MCSM-Daemon
完善 解压文件
This commit is contained in:
parent
978bdc8c18
commit
a0423a1964
@ -64,7 +64,6 @@ export async function compress(sourceZip: string, files: string[], fileCode?: st
|
|||||||
export async function decompress(zipPath: string, dest: string, fileCode?: string) {
|
export async function decompress(zipPath: string, dest: string, fileCode?: string) {
|
||||||
if (system === "linux") {
|
if (system === "linux") {
|
||||||
if (haveLinuxUnzip()) {
|
if (haveLinuxUnzip()) {
|
||||||
console.log("xxxxxxxxxxxxxxxxxx");
|
|
||||||
return await linuxUnzip(zipPath, dest);
|
return await linuxUnzip(zipPath, dest);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user