Skip to content

[Snap Core24] Unnecessary .desktop file created #10077

Description

@whitenoisedev

We noticed an unnecessary (duplicate or wrong) .desktop file created while building Obsidian Snap package.

Our setup is electron builder 26.15.7, core24, classic confinement, syncDesktopName: true, and desktopName: md.obsidian.Obsidian

Two .desktop files were generated (so there are two items in the user's app launcher).

md.obsidian.Obsidian.desktop
obsidian.desktop

We were expecting only the first one, not the second.
They have the same content.

[Desktop Entry]
Name=Obsidian
Exec=obsidian %U
Terminal=false
Type=Application
Icon=${SNAP}/meta/gui/icon.png
StartupWMClass=md.obsidian.Obsidian
Comment=Obsidian
MimeType=x-scheme-handler/obsidian;
Categories=Office;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions