diff --git a/index.js b/index.js index bf5cf4b..60e7911 100644 --- a/index.js +++ b/index.js @@ -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');