Skip to content

Support codex-app Linux install layout#18

Open
siraht wants to merge 1 commit into
b-nnett:mainfrom
siraht:linux-am-will-codex-app-compat
Open

Support codex-app Linux install layout#18
siraht wants to merge 1 commit into
b-nnett:mainfrom
siraht:linux-am-will-codex-app-compat

Conversation

@siraht

@siraht siraht commented May 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • detect Linux installs from am-will/codex-app, including /usr/lib/codex-desktop, user-local codex-desktop layouts, and symlink launcher overrides
  • resolve Linux Electron executables named Codex, codex-desktop, or codex
  • search for main-*.js next to the original Electron entry point so nested recovered app bundles can be patched
  • add regression tests for the Linux install layout, symlink override, and nested recovered bundle discovery

Validation

  • npm test
  • locally installed against am-will/codex-app at /usr/lib/codex-desktop
  • launched Codex after patching and confirmed the Codex++ Tweaks UI appears in Settings
  • codex-plusplus doctor reports all checks passed

Notes

The tested Linux install was root-owned because it came from a .deb, so patching required elevated permissions. The runtime itself remained under the normal user's CODEX_PLUSPLUS_HOME.

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