feat: 添加注入前探测 QQ 登录状态功能 (#56)

通过扫描 QQ 进程开放的 9210-9219 端口,在注入 DLL 前即可获取登录状态和账号信息。

- 新增端口探测模块 (qq-port-probe.ts)
- 前端添加"探测登录"按钮和状态显示对话框
- 兼容 Windows 和 Linux 平台
- 修复端口查询逻辑,正确识别每个 PID 开放的端口

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
H3CoF6andClaude Sonnet 4.6 authored and GitHub committed 2026-05-20 10:29:41 +08:00
1 parent 1db287d8cc
commit 312df29b5f
8 files changed
+353

No files matched your search

+1
View File
@@ -53,6 +53,7 @@ class HttpApiClient implements ApiClient {
load: (pid) => this.postJson<ProcessActionResult>(`/api/processes/${pid}/load`),
unload: (pid) => this.postJson<ProcessActionResult>(`/api/processes/${pid}/unload`),
refresh: (pid) => this.postJson<ProcessActionResult>(`/api/processes/${pid}/refresh`),
probeLoginInfo: (pid) => this.getJson<{ info: unknown }>(`/api/processes/${pid}/probe-login`).then((d) => d.info ?? null),
};
this.config = {