update: 更新light-code部分的代码模块

This commit is contained in:
2025-11-11 03:42:21 +08:00
parent dbd59e2fd9
commit 5df5a943ed
16 changed files with 761 additions and 1035 deletions

View File

@@ -59,9 +59,11 @@ export class AssistantInit extends AssistantConfig {
}
// create pem dir //
const pemDir = path.join(this.configPath?.configDir, 'pem');
if (!checkFileExists(pemDir)) {
new HttpsPem(this);
console.log(chalk.green('助手证书目录创建成功'));
const httpsPem = new HttpsPem(this);
if (httpsPem.isHttps) {
if (!checkFileExists(pemDir)) {
console.log(chalk.green('助手证书目录创建成功'));
}
}
}
createAssistantConfig() {