Merge pull request #257146 from andresilva/ledger-live-2.68.1

ledger-live-desktop: 2.66.0 -> 2.69.0
This commit is contained in:
André Silva 2023-10-05 15:34:24 +01:00 committed by GitHub
commit 10da050984
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,14 +2,13 @@
let
pname = "ledger-live-desktop";
version = "2.66.0";
version = "2.69.0";
src = fetchurl {
url = "https://download.live.ledger.com/${pname}-${version}-linux-x86_64.AppImage";
hash = "sha256-Du2bvtlNjxtkJ31RCKZmGtWxOEIjohbmEC5o3VvFGlY=";
hash = "sha256-9eELWlOzUd3xwAoob5XCj16JihOt6SHZe0Ybxb9dtQI=";
};
appimageContents = appimageTools.extractType2 {
inherit pname version src;
};
@ -23,6 +22,7 @@ appimageTools.wrapType2 rec {
install -m 444 -D ${appimageContents}/ledger-live-desktop.png $out/share/icons/hicolor/1024x1024/apps/ledger-live-desktop.png
${imagemagick}/bin/convert ${appimageContents}/ledger-live-desktop.png -resize 512x512 ledger-live-desktop_512.png
install -m 444 -D ledger-live-desktop_512.png $out/share/icons/hicolor/512x512/apps/ledger-live-desktop.png
substituteInPlace $out/share/applications/ledger-live-desktop.desktop \
--replace 'Exec=AppRun' 'Exec=${pname}'
'';