Update session instantiation and appid format

Changed session creation to use the constructor instead of the create() method in base.ts. Updated the appid.json key format from '9.9.23.41679' to '9.9.23-41679'. Added a constructor signature to NodeIQQNTWrapperSession interface. Updated NapCatWinBootHook.dll binary.
This commit is contained in:
手瓜一十雪 2025-10-31 00:06:31 +08:00
parent c3cd2aaf89
commit 86123af7fc
4 changed files with 4 additions and 2 deletions

Binary file not shown.

View File

@ -427,7 +427,7 @@
"appid": 537319891,
"qua": "V1_LNX_NQ_3.2.20_40990_GW_B"
},
"9.9.23.41679": {
"9.9.23-41679": {
"appid": 537320110,
"qua": "V1_WIN_NQ_9.9.23.41679_GW_B"
}

View File

@ -141,6 +141,8 @@ export interface NodeQQNTWrapperUtil {
}
export interface NodeIQQNTWrapperSession {
new(): NodeIQQNTWrapperSession;
create(): NodeIQQNTWrapperSession;
init(

View File

@ -335,7 +335,7 @@ export async function NCoreInitShell() {
const engine = wrapper.NodeIQQNTWrapperEngine.get();
const loginService = wrapper.NodeIKernelLoginService.get();
const session = wrapper.NodeIQQNTWrapperSession.create();
const session = new wrapper.NodeIQQNTWrapperSession();
const [dataPath, dataPathGlobal] = getDataPaths(wrapper);
const systemPlatform = getPlatformType();