tidal-hifi: improve quality of the desktop entry (#419474)

This commit is contained in:
Robert Hensing
2025-06-27 17:12:10 +02:00
committed by GitHub
+17 -18
View File
@@ -87,7 +87,7 @@ let
vulkan-loader
];
in
buildNpmPackage {
buildNpmPackage (self: {
pname = "tidal-hifi";
inherit version;
@@ -125,24 +125,23 @@ buildNpmPackage {
desktopItems = [
(makeDesktopItem {
exec = "tidal-hifi";
name = "TIDAL Hi-Fi";
desktopName = "tidal-hifi";
genericName = "TIDAL Hi-Fi";
comment = "The web version of listen.tidal.com running in electron with hifi support thanks to widevine.";
name = self.pname;
desktopName = "TIDAL Hi-Fi";
genericName = "Music Player";
comment = self.meta.description;
icon = "tidal-hifi";
startupNotify = true;
exec = self.meta.mainProgram;
terminal = false;
type = "Application";
categories = [
"Network"
"Application"
"AudioVideo"
"Audio"
"Video"
];
startupWMClass = "tidal-hifi";
mimeTypes = [ "x-scheme-handler/tidal" ];
categories = [
"Audio"
"Music"
"Player"
"Network"
"AudioVideo"
];
startupNotify = true;
startupWMClass = "tidal-hifi";
extraConfig.X-PulseAudio-Properties = "media.role=music";
})
];
@@ -190,7 +189,7 @@ buildNpmPackage {
meta = {
changelog = "https://github.com/Mastermindzh/tidal-hifi/releases/tag/${version}";
description = "Web version of Tidal running in electron with hifi support thanks to widevine";
description = "Web version of Tidal running in Electron with Hi-Fi support thanks to Widevine";
homepage = "https://github.com/Mastermindzh/tidal-hifi";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
@@ -201,4 +200,4 @@ buildNpmPackage {
platforms = lib.platforms.linux;
mainProgram = "tidal-hifi";
};
}
})