mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-12-05 15:41:56 +00:00
修复潜在的初始化问题
This commit is contained in:
parent
e06c75a845
commit
770b7a6fcb
4
index.js
4
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');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user