Skip to content

file association icon set to x-office-document on linux #6261

@jshum2479

Description

@jshum2479
  • Electron-Builder Version: 22.11.7
  • Node Version: 16.6.2
  • Electron Version: 13.1.9
  • Electron Type (current, beta, nightly): current
  • Target: linux

According to here https://www.electron.build/generated/platformspecificbuildoptions

  • icon String - The path to icon (.icns for MacOS and .ico for Windows), relative to build (build resources directory). Defaults to ${firstExt}.icns/${firstExt}.ico (if several extensions specified, first is used) or to application icon.

Not supported on Linux, file issue if need (default icon will be x-office-document).

We are building an app also for linux. After the install the file association action is working fine (double click will launch the app), but in file manager, the icon for the project file is shown as x-office-document

I see in the /usr/share/mime/applications, the association is set as

WebLogic Kubernetes Toolkit project file

Is there a way, you can support the icon field on linux - showing the icon provided instead of x-office-document

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions