Skip to content

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

@jerome-benoit

Description

@jerome-benoit

Description

Commit 96975ef renamed the desktop binary from "OpenCode Desktop" to "OpenCode", causing collision with CLI binary opencode on case-insensitive filesystems (macOS/Windows default).

Root Cause

Commit: 96975ef (Dec 14, 2025)
File: packages/tauri/src-tauri/tauri.conf.json

- "mainBinaryName": "OpenCode Desktop",
+ "mainBinaryName": "OpenCode",

Problem

On case-insensitive filesystems, OpenCode and opencode are treated as the same file:

Cross-Platform Binary Naming

Standard conventions prohibit:

  • ❌ Mixed case (filesystem collision)
  • ❌ Spaces (breaks shell scripting)
  • ❌ Underscores (library naming conflicts)

Recommended:

  • ✅ Lowercase with hyphens: opencode-desktop

Solution

Rename desktop binary to opencode-desktop (matches existing package naming conventions).

References

Metadata

Metadata

Assignees

Labels

nixwebRelates to opencode on web / desktopwindows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions