feat: 追平NT逻辑

This commit is contained in:
手瓜一十雪
2024-09-17 23:17:02 +08:00
parent 9380247304
commit c08ad827c4
2 changed files with 23 additions and 11 deletions

View File

@@ -144,7 +144,7 @@ export interface NodeQQNTWrapperUtil {
export interface NodeIQQNTWrapperSession {
create(): NodeIQQNTWrapperSession;
init(
wrapperSessionInitConfig: WrapperSessionInitConfig,
nodeIDependsAdapter: NodeIDependsAdapter,
@@ -249,7 +249,7 @@ export interface NodeIQQNTWrapperSession {
export interface EnginInitDesktopConfig {
base_path_prefix: string;
platform_type: 3;
platform_type: PlatformType;
app_type: 4;
app_version: string;
os_version: string;
@@ -262,8 +262,7 @@ export interface EnginInitDesktopConfig {
}
export interface NodeIQQNTWrapperEngine {
// eslint-disable-next-line @typescript-eslint/no-misused-new
new(): NodeIQQNTWrapperEngine;
get(): NodeIQQNTWrapperEngine;
initWithDeskTopConfig(config: EnginInitDesktopConfig, nodeIGlobalAdapter: NodeIGlobalAdapter): void;
}