You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: ocx system update check reports installer "source" / reason "source_checkout" on a Windows MSI install (2.84.0) #7051
On a Windows MSI install, ocx system update check still reports the installation as a source checkout, so the CLI self-update path is permanently disabled even though the dashboard updater works:
{
"currentVersion": "2.84.0",
"latestVersion": null,
"channel": "latest",
"installer": "source",
"updateAvailable": false,
"canUpdate": false,
"command": "git pull && bun install && bun run build:gui",
"releaseNotesUrl": "https://github.com/lidge-jun/opencodex/releases/latest",
"reason": "source_checkout"
}
I expected a managed MSI install to be recognised (or at least to get a distinct reason), so canUpdate can be true and ocx update can work.
#6963 / #6980 fixed the dashboard installer path — I updated 2.83.0 → 2.84.0 through the dashboard on this very machine and it worked. The CLI path appears untouched and still falls back to the detectedManager = "source" default.
Reproduction
Install OpenCodex from the Windows MSI (registry entry {3A9FB72C-AC9F-4005-ABF7-053525C86DCA}, DisplayVersion = 2.84.0, install dir C:\Program Files\OpenCodex\).
Fixed on dev by #7063 (b28f23d). A standalone install (the Windows MSI or Desktop-bundled ocx.exe) is now reported as installer "standalone" with reason "standalone_install" and a hint to update through OpenCodex Desktop (Check for Updates…) or the GitHub release, instead of claiming a source checkout and suggesting git pull. The CLI does not self-update a standalone binary, so canUpdate stays false and the Desktop updater remains the update path. Ships in the next release after 2.84.0.
Decision (maintainer): MSI/standalone installs keep receiving updates through the Desktop updater; ocx update will not self-update MSI installs. As of #7063, ocx update detects these installs and points to the Desktop updater. Closing as won't-do.
Activity
lidge-jun commentedon Oct 13, 2026
Fixed on dev by #7063 (b28f23d). A standalone install (the Windows MSI or Desktop-bundled ocx.exe) is now reported as installer "standalone" with reason "standalone_install" and a hint to update through OpenCodex Desktop (Check for Updates…) or the GitHub release, instead of claiming a source checkout and suggesting git pull. The CLI does not self-update a standalone binary, so canUpdate stays false and the Desktop updater remains the update path. Ships in the next release after 2.84.0.
lidge-jun commentedon Oct 13, 2026
Decision (maintainer): MSI/standalone installs keep receiving updates through the Desktop updater;
ocx updatewill not self-update MSI installs. As of #7063,ocx updatedetects these installs and points to the Desktop updater. Closing as won't-do.