修复潜在的初始化问题

This commit is contained in:
Jerry 2025-10-16 18:30:01 +08:00
parent e06c75a845
commit 770b7a6fcb

View File

@ -12,8 +12,8 @@ logger.info(
updater.checkAndUpdate().catch((err) => {
logger.err(err);
});
//不要加await
crystelfInit.CSH().then(logger.mark('[crystelf-plugin] crystelf-plugin 完成初始化'));
await crystelfInit.CSH().then(logger.mark('[crystelf-plugin] crystelf-plugin 完成初始化'));
const appPath = Path.apps;
const jsFiles = await fc.readDirRecursive(appPath, 'js');