Revert "feat: FrameWork调整"

This reverts commit f30ce97b13.
This commit is contained in:
手瓜一十雪 committed 2024-09-26 17:01:18 +08:00
1 parent 62d4fa3f74
commit d1065db843
3 files changed
+3 -11

No files matched your search

+1 -8
View File
@@ -23,14 +23,7 @@ export async function NCoreInitFramework(
) {
//在进入本层前是否登录未进行判断
console.log('NapCat Framework App Loading...');
let dataPath: string | undefined;
try {
dataPath = (global as any).LiteLoader.plugins['NapCatQQ'].path.data;
} catch (error) {
dataPath = undefined;
}
const pathWrapper = new NapCatPathWrapper(dataPath);
const pathWrapper = new NapCatPathWrapper();
const logger = new LogWrapper(pathWrapper.logsPath);
const basicInfoWrapper = new QQBasicInfoWrapper({ logger });
const wrapper = loadQQWrapper(basicInfoWrapper.getFullQQVesion());