fix(windows): re-resolve Codex Desktop path after updates (#2094, #2095) - #2097
Merged
BigPizzaV3 merged 3 commits intoSep 9, 2026
Merged
Conversation
BigPizzaV3
requested changes
Sep 4, 2026
This was referenced Sep 4, 2026
Closed
dongyu23
force-pushed
the
codex/fix-windows-codex-path-2094-2095
branch
from
September 4, 2026 10:14
0b8b769 to
818a983
Compare
dongyu23
force-pushed
the
codex/fix-windows-codex-path-2094-2095
branch
from
September 4, 2026 11:35
699035d to
b67b2f8
Compare
Owner
BigPizzaV3
approved these changes
Sep 9, 2026
BigPizzaV3
left a comment
Owner
There was a problem hiding this comment.
作者已把重复 commit 77fc5de 移除,分支现为干净三提交(f4f9bae9 可合并入当前 main,0 冲突)。解除此前的阻塞。\n\n合并前请确认在最新 main 上通过 Windows artifacts / macOS DMG (arm64) / macOS DMG (x64) 三平台 CI;该修复针对 Windows 更新后 Codex 路径重解析,建议附一个验证 Codex 更新路径场景的用例。
This was referenced Sep 9, 2026
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.
Summary
OpenAI.Codexpackages and the newerOpenAI.ChatGPT-Desktoppackage identity, includingneutral_~_publisherMSIX full names.--app-path, standalone Windows installs, and existing macOS bundle resolution behavior unchanged.Scope
This PR primarily targets Windows, which is the platform affected by the versioned WindowsApps installation paths reported in #2094 and #2095. macOS behavior is kept compatible and covered by existing regression tests. Codex++ currently does not ship a Linux Desktop target, so Linux Desktop discovery is intentionally outside this PR.
Issues
Closes #2094
Closes #2095
Testing
F:\\cargo\\bin\\cargo.exe +stable test -p codex-plus-coreAdditional coverage includes old and new AppX package identities, stale saved Store paths after an update, explicit path precedence, Codex++ manager path rejection, portable installs, and macOS bundles.
Notes
The existing unrelated
unused import: std::io::Writewarning remains unchanged.