chore: vite build

Co-Authored-By: Wesley F. Young <25684570+Wesley-Young@users.noreply.github.com>
This commit is contained in:
手瓜一十雪andWesley F. Young committed 2024-08-08 19:26:27 +08:00
1 parent ba70c14194
commit e5b90afff2
11 files changed
+50 -64

No files matched your search

+3 -2
View File
@@ -77,9 +77,10 @@ async function checkNTIsInit() {
}
async function NCInit() {
console.log("[NapCat] [Info] 开始初始化NapCat");
//await import("file://" + path.join(CurrentPath, './napcat.mjs'));
const { NCoreInitLiteLoader } = await import("file://" + path.join(CurrentPath, './napcat.mjs'));
//传入LoginService Session 其余自载入
console.log("[NapCat] [Info] NapCat初始化完成");
await NCoreInitLiteLoader(getWrapperSession(), getWrapperLoginService());
//console.log("[NapCat] [Info] NapCat初始化完成");
}
(async () => {
try {