forked from mirror/MCSM-Daemon
开发 测试
This commit is contained in:
parent
0254820399
commit
978bdc8c18
@ -64,6 +64,7 @@ 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