Skip to content

Fix Windows Store desktop executable detection - #955

Draft
spencerby28 wants to merge 1 commit into
b-nnett:mainfrom
spencerby28:agent/fix-windows-chatgpt-launcher
Draft

Fix Windows Store desktop executable detection#955
spencerby28 wants to merge 1 commit into
b-nnett:mainfrom
spencerby28:agent/fix-windows-chatgpt-launcher

Conversation

@spencerby28

@spencerby28 spencerby28 commented Jul 11, 2026

Copy link
Copy Markdown

Summary

  • Prefer ChatGPT.exe when selecting the Windows desktop application executable.
  • Keep the existing Codex.exe fallback for older installations.
  • Add a regression test covering Store-style layouts that contain both the desktop executable and a helper named Codex.exe.

Context

The current Windows Store package still uses the OpenAI.Codex package identity, but its application entry point is app/ChatGPT.exe. The same directory can also contain a smaller helper named Codex.exe. Existing discovery selects the first executable whose name contains Codex, so generated Codex++ launchers can target the helper and exit without opening the desktop app.

This PR is intentionally narrow: it fixes Windows launcher executable selection only. It is unrelated to the in-app browser crash, and it does not attempt the broader cross-platform Codex-to-ChatGPT desktop-app migration.

Validation

  • Targeted Windows platform regression test passes.
  • tsc -p packages/installer/tsconfig.json --noEmit passes.

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