joplin-desktop: fix WMClass to match icon with open window

In GNOME, when opening Joplin Desktop, the app displays a weird icon, detached from the app icon.

(cherry picked from commit da4a23fcd0)
This commit is contained in:
Jairo Llopis 2026-06-01 20:12:01 +01:00 committed by github-actions[bot]
commit b562bcf9fe

View file

@ -228,7 +228,7 @@ stdenv.mkDerivation (finalAttrs: {
icon = "joplin";
comment = "Joplin for Desktop";
categories = [ "Office" ];
startupWMClass = "@joplin/app-desktop";
startupWMClass = "joplin-app-desktop";
mimeTypes = [ "x-scheme-handler/joplin" ];
})
];