diff --git a/src/core/index.ts b/src/core/index.ts index 0056fb59..ed790dc4 100644 --- a/src/core/index.ts +++ b/src/core/index.ts @@ -20,7 +20,7 @@ import { LogLevel, LogWrapper } from '@/common/log'; import { NodeIKernelLoginService } from '@/core/services'; import { QQBasicInfoWrapper } from '@/common/qq-basic-info'; import { NapCatPathWrapper } from '@/common/path'; -import path from 'node:path'; +import path, { resolve } from 'node:path'; import fs from 'node:fs'; import { hostname, systemName, systemVersion } from '@/common/system'; import { NTEventWrapper } from '@/common/event'; @@ -132,7 +132,7 @@ export class NapCatCore { // }]); } } catch (error: any) { - //context.logger.logWarn("[appNative]", (error as Error).message); + context.logger.logWarn("[appNative]", (error as Error).message); } }); this.initNapCatCoreListeners().then().catch(this.context.logger.logError.bind(this.context.logger)); diff --git a/src/native/external/MoeHoo.win32.node b/src/native/external/MoeHoo.win32.node index 1619bedf..b18d2755 100644 Binary files a/src/native/external/MoeHoo.win32.node and b/src/native/external/MoeHoo.win32.node differ