Skip to content

Conversation

@JakeDefayette
Copy link

Summary

  • Rename the desktop binary from OpenCode to opencode-desktop to prevent collision with the CLI binary opencode on case-insensitive filesystems (macOS, Windows)
  • Add explicit mainBinaryName to production config (was previously inheriting from productName)

Problem

On case-insensitive filesystems (macOS default, Windows), OpenCode and opencode are treated as the same file:

Solution

Use lowercase with hyphens (opencode-desktop) which:

  • Avoids filesystem collision
  • Follows standard binary naming conventions
  • Matches existing package naming patterns

Test plan

  • Verify desktop app launches correctly with new binary name
  • Verify CLI (opencode) still works independently
  • Test installation on macOS and Windows

Fixes #9273

🤖 Generated with Claude Code

R44VC0RP and others added 5 commits January 25, 2026 20:56
Rename the desktop binary from "OpenCode" to "opencode-desktop" to
prevent collision with the CLI binary "opencode" on case-insensitive
filesystems (macOS, Windows).

Fixes anomalyco#9273

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@JakeDefayette JakeDefayette deleted the fix/desktop-binary-name-collision branch January 26, 2026 02:29
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.

[BUG] Binary name collision: opencode vs OpenCode on case-insensitive filesystems

3 participants