3
0
Fork 0
forked from mirrors/nixpkgs

element-desktop: associate with element:// links (#106750)

This commit is contained in:
Sylvain Fankhauser 2020-12-12 21:02:59 +01:00 committed by GitHub
parent 170065c92d
commit 3043fe5b84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,7 @@ in mkYarnPackage rec {
# https://github.com/vector-im/riot-desktop/blob/develop/package.json
desktopItem = makeDesktopItem {
name = "element-desktop";
exec = executableName;
exec = "${executableName} %u";
icon = "element";
desktopName = "Element (Riot)";
genericName = "Matrix Client";
@ -68,6 +68,7 @@ in mkYarnPackage rec {
categories = "Network;InstantMessaging;Chat;";
extraEntries = ''
StartupWMClass=element
MimeType=x-scheme-handler/element;
'';
};