Skip to content

fix: 支持 Windows 商店 Codex Beta 包检测#953

Open
ailinician wants to merge 1 commit into
BigPizzaV3:mainfrom
ailinician:codex/support-codex-beta-package
Open

fix: 支持 Windows 商店 Codex Beta 包检测#953
ailinician wants to merge 1 commit into
BigPizzaV3:mainfrom
ailinician:codex/support-codex-beta-package

Conversation

@ailinician

Copy link
Copy Markdown

概述

支持 Windows 下 Microsoft Store 版 Codex Beta 的包名识别。

之前 Windows 商店应用路径检测逻辑只匹配 OpenAI.Codex_ 前缀。
但 Codex Beta 的包名前缀是 OpenAI.CodexBeta_,因此会被自动发现逻辑过滤掉,并导致后续无法正确生成用于启动商店应用的 AUMID。

修改内容

  • 集中维护支持的 Codex 包名前缀
  • 同时支持 OpenAI.Codex_OpenAI.CodexBeta_
  • 版本解析和 AUMID 生成复用同一套前缀判断逻辑
  • 增加 Codex Beta 的回归测试,覆盖:
    • Beta 包目录发现
    • Beta 版本号解析
    • Beta packaged activation / AUMID 生成

验证

已执行:

  • cargo fmt --check -p codex-plus-core
  • cargo test -p codex-plus-core --test launcher
  • cargo clippy -p codex-plus-core --all-targets

说明:
cargo test --all-features 当前会在一个无关的 cdp_bridge Node 测试中失败,原因是该测试的 mock document 对象缺少 getElementById,与本次 Windows 包名检测修改无关。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant