Skip to content

The desktop-electron will register text/html as default client. #24597

@xuruoyu1979

Description

@xuruoyu1979

Description

The app.setAsDefaultProtocolClient() call in "desktop-electron/src/main/index.ts" will add "text/html" mimetype in ~/.config/mimeapps.list , this will cause some app like jupyter notebook use opencode desktop as default browser.

Plugins

No response

OpenCode version

1.4.3

Steps to reproduce

  1. Install opencode desktop electron version.
  2. start opencode desktop.
  3. Check the ~/.config/mimeapps.list, it will register the mimetype "text/html" as default.

Screenshot and/or share link

No response

Operating System

Ubuntu 22.04

Terminal

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions