modified: index.js

This commit is contained in:
yeyang
2023-01-14 17:54:32 +08:00
parent 2713966066
commit c827e16257

View File

@@ -11,7 +11,7 @@ logger.info(chalk.rgb(255, 207, 247)(`椰奶插件${Ver.ver}初始化~`))
logger.info(chalk.rgb(253, 235, 255)('-------------------------'))
try {
await import('systeminformation2')
await import('systeminformation')
if (!await redis.get('yenai:node_modules')) await redis.set('yenai:node_modules', '1')
} catch (error) {
if (error.stack?.includes('Cannot find package')) {