解压 zip 文件。
要解压的 zip 文件路径。
要解压到的目标文件夹路径。
解压操作的异步结果。
const result = await unzip('/path/to/archive.zip', '/path/to/output');if (result.isOk()) { console.log('解压成功');} Copy
const result = await unzip('/path/to/archive.zip', '/path/to/output');if (result.isOk()) { console.log('解压成功');}
解压 zip 文件。