Unverified Commit 12f7523d authored by Robert Hensing's avatar Robert Hensing Committed by GitHub
Browse files

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

parents 1206c642 29b86572
Loading
Loading
Loading
Loading
+13 −14
Original line number Diff line number Diff line
@@ -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";
      mimeTypes = [ "x-scheme-handler/tidal" ];
      categories = [
        "Audio"
        "Music"
        "Player"
        "Network"
        "Application"
        "AudioVideo"
        "Audio"
        "Video"
      ];
      startupNotify = true;
      startupWMClass = "tidal-hifi";
      mimeTypes = [ "x-scheme-handler/tidal" ];
      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";
  };
}
})