🐛 修复v4未获取到更新

Signed-off-by: 等风来 <3139373986@qq.com>
This commit is contained in:
等风来
2024-06-23 14:09:51 +08:00
parent 8c41978052
commit ce82f7b313

View File

@@ -3,7 +3,7 @@ import { common } from "../model/index.js"
let Update = null
try {
Update = (await import("../../other/update.js").catch(e => null))?.update
Update ||= (await import("../../system/apps/update.ts")).update
Update ||= (await import("../../system-plugin/apps/update.ts")).update
} catch (e) {
logger.error("[yenai-plugin]未获取到更新js #椰奶更新 将无法使用")
}