From d87479afa92d7c5fe306a4e4d8784ad020daf114 Mon Sep 17 00:00:00 2001 From: nat Date: Sat, 3 Aug 2024 14:55:54 +0200 Subject: [PATCH] lunar-client: 3.2.11 -> 3.2.12 --- pkgs/by-name/lu/lunar-client/package.nix | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/lu/lunar-client/package.nix b/pkgs/by-name/lu/lunar-client/package.nix index f09541a3f57d..0aa9b9699fb4 100644 --- a/pkgs/by-name/lu/lunar-client/package.nix +++ b/pkgs/by-name/lu/lunar-client/package.nix @@ -5,25 +5,24 @@ }: appimageTools.wrapType2 rec { - pname = "lunar-client"; - version = "3.2.11"; + pname = "lunarclient"; + version = "3.2.12"; src = fetchurl { url = "https://launcherupdates.lunarclientcdn.com/Lunar%20Client-${version}.AppImage"; - hash = "sha512-qRucW9x4LMmTb8pw0zY1EKXkPfjdahCi2PN/bfdB8CYA4wZp0bfZNaGtPpI/BKPlnR/nfpypEdnHsoqlL9KiCg=="; + hash = "sha512-dqFFi5Vri5oEbyDdzKiWPF1mbSf0Qv2MBuEqF/rIs1aYMNjCQDu2CqTrhLtctu2VXxKlgzaqktFWKs9WMZayZA=="; }; extraInstallCommands = let contents = appimageTools.extract { inherit pname version src; }; in '' source "${makeWrapper}/nix-support/setup-hook" - wrapProgram $out/bin/lunar-client \ + wrapProgram $out/bin/lunarclient \ --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" - install -Dm444 ${contents}/launcher.desktop $out/share/applications/lunar-client.desktop - install -Dm444 ${contents}/launcher.png $out/share/pixmaps/lunar-client.png - substituteInPlace $out/share/applications/lunar-client.desktop \ - --replace 'Exec=AppRun --no-sandbox %U' 'Exec=lunar-client' \ - --replace 'Icon=launcher' 'Icon=lunar-client' + install -Dm444 ${contents}/lunarclient.desktop -t $out/share/applications/ + install -Dm444 ${contents}/lunarclient.png -t $out/share/pixmaps/ + substituteInPlace $out/share/applications/lunarclient.desktop \ + --replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=lunarclient' \ ''; passthru.updateScript = ./update.sh; @@ -32,7 +31,7 @@ appimageTools.wrapType2 rec { description = "Free Minecraft client with mods, cosmetics, and performance boost"; homepage = "https://www.lunarclient.com/"; license = with licenses; [ unfree ]; - mainProgram = "lunar-client"; + mainProgram = "lunarclient"; maintainers = with maintainers; [ Technical27 surfaceflinger ]; platforms = [ "x86_64-linux" ]; };