parent
cd1bd15f51
commit
cf69cfa831
|
@ -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" \
|
||||
|
|
Loading…
Reference in New Issue