mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-22 15:20:07 +08:00
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:
parent
c3cd2aaf89
commit
86123af7fc
Binary file not shown.
2
src/core/external/appid.json
vendored
2
src/core/external/appid.json
vendored
@ -427,7 +427,7 @@
|
|||||||
"appid": 537319891,
|
"appid": 537319891,
|
||||||
"qua": "V1_LNX_NQ_3.2.20_40990_GW_B"
|
"qua": "V1_LNX_NQ_3.2.20_40990_GW_B"
|
||||||
},
|
},
|
||||||
"9.9.23.41679": {
|
"9.9.23-41679": {
|
||||||
"appid": 537320110,
|
"appid": 537320110,
|
||||||
"qua": "V1_WIN_NQ_9.9.23.41679_GW_B"
|
"qua": "V1_WIN_NQ_9.9.23.41679_GW_B"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -141,6 +141,8 @@ export interface NodeQQNTWrapperUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface NodeIQQNTWrapperSession {
|
export interface NodeIQQNTWrapperSession {
|
||||||
|
|
||||||
|
new(): NodeIQQNTWrapperSession;
|
||||||
create(): NodeIQQNTWrapperSession;
|
create(): NodeIQQNTWrapperSession;
|
||||||
|
|
||||||
init(
|
init(
|
||||||
|
|||||||
@ -335,7 +335,7 @@ export async function NCoreInitShell() {
|
|||||||
|
|
||||||
const engine = wrapper.NodeIQQNTWrapperEngine.get();
|
const engine = wrapper.NodeIQQNTWrapperEngine.get();
|
||||||
const loginService = wrapper.NodeIKernelLoginService.get();
|
const loginService = wrapper.NodeIKernelLoginService.get();
|
||||||
const session = wrapper.NodeIQQNTWrapperSession.create();
|
const session = new wrapper.NodeIQQNTWrapperSession();
|
||||||
|
|
||||||
const [dataPath, dataPathGlobal] = getDataPaths(wrapper);
|
const [dataPath, dataPathGlobal] = getDataPaths(wrapper);
|
||||||
const systemPlatform = getPlatformType();
|
const systemPlatform = getPlatformType();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user