!36 fix: 更新提示

* fix: 更新提示
This commit is contained in:
柠檬冲水
2024-06-24 05:18:33 +00:00
committed by 等风来
parent 4b2bd367d5
commit 0ed1053a97

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-plugin/apps/update.ts")).update
Update ||= (await import("../../system/apps/update.ts")).update
} catch (e) {
logger.error("[yenai-plugin]未获取到更新js #椰奶更新 将无法使用")
}