chore: 解压lego之后,设置为可执行

This commit is contained in:
xiaojunnuo
2024-11-02 23:37:25 +08:00
parent 0526734ca1
commit 3563a4cc36
2 changed files with 4 additions and 2 deletions

View File

@@ -140,6 +140,9 @@ export class CertApplyLegoPlugin extends CertApplyBasePlugin {
await utils.sp.spawn({
cmd: `tar -zxvf ./tools/linux/lego_linux_${platform}.tar.gz -C ./tools/linux/`,
});
await utils.sp.spawn({
cmd: `chmod +x ./tools/linux/*`,
});
this.logger.info("解压lego成功");
} else {
const zip = new JSZip();