From cf69cfa8319211e017e1017f6374a3c28629c3a7 Mon Sep 17 00:00:00 2001 From: jolheiser Date: Thu, 14 Sep 2023 14:04:52 -0500 Subject: [PATCH] chore: update prospect mail Signed-off-by: jolheiser --- pkgs/prospect-mail/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/prospect-mail/default.nix b/pkgs/prospect-mail/default.nix index b6321b9..1c227f2 100644 --- a/pkgs/prospect-mail/default.nix +++ b/pkgs/prospect-mail/default.nix @@ -73,12 +73,8 @@ stdenv.mkDerivation rec { else "linux-" }${lib.optionalString stdenv.hostPlatform.isAarch64 "arm64-"}unpacked/resources/app.asar $out/share/prospect-mail/ - pushd build - for image in *png; do - mkdir -p $out/share/icons/hicolor/''${image%.png}/apps - cp -r $image $out/share/icons/hicolor/''${image%.png}/apps/prospect-mail.png - done - popd + mkdir -p $out/share/icons/hicolor/256x256/apps + cp build/icon.png $out/share/icons/hicolor/256x256/apps/prospect-mail.png # Linux needs 'aplay' for notification sounds, 'libpulse' for meeting sound, and 'libpipewire' for screen sharing makeWrapper '${electron}/bin/electron' "$out/bin/prospect-mail" \