build: 1.7.7

This commit is contained in:
手瓜一十雪 2024-08-04 15:16:45 +08:00
parent 20fd5ac8cb
commit 3cce9f528b

View File

@ -84,7 +84,6 @@ export class NapCatCore {
const dataPath = path.resolve(this.dataPath, './NapCat/data');
fs.mkdirSync(dataPath, { recursive: true });
logDebug('本账号数据/缓存目录:', dataPath);
// dbUtil.init(path.resolve(dataPath, `./${arg.uin}-v2.db`)).then(() => {
this.initDataListener();
this.onLoginSuccessFuncList.map(cb => {
new Promise((resolve, reject) => {
@ -94,11 +93,6 @@ export class NapCatCore {
}
}).then();
});
// }).catch((e) => {
// logError('数据库初始化失败', e);
// });
// this.initDataListener();
}).catch((e) => {
logError('initSession failed', e);
throw new Error(`启动失败: ${JSON.stringify(e)}`);