fix: 改进 Windows Discord 启动与 CDP 校验 - #2270
Open
bingame wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
说明
本 PR 改进 Windows 上 Discord 桌面适配器的应用发现、启动与 CDP 连接流程:
%LOCALAPPDATA%下 Discord 的最新安装版本。/json目标确实属于 Discord,避免连接到占用同一端口的其他 Electron 应用。Related issue: 无
变更类型
检查清单
文档
docs/adapters/desktop/discord.md验证输出
npm run typecheck:通过npx vitest run --project unit src/launcher.test.ts src/electron-apps.test.ts src/engine.test.ts --reporter=dot:59 项通过,10 项平台跳过