mirror of
https://github.com/certd/certd.git
synced 2026-04-15 13:32:37 +08:00
chore: 解压lego之后,设置为可执行
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user