parent
cd1bd15f51
commit
cf69cfa831
|
@ -73,12 +73,8 @@ stdenv.mkDerivation rec {
|
||||||
else "linux-"
|
else "linux-"
|
||||||
}${lib.optionalString stdenv.hostPlatform.isAarch64 "arm64-"}unpacked/resources/app.asar $out/share/prospect-mail/
|
}${lib.optionalString stdenv.hostPlatform.isAarch64 "arm64-"}unpacked/resources/app.asar $out/share/prospect-mail/
|
||||||
|
|
||||||
pushd build
|
mkdir -p $out/share/icons/hicolor/256x256/apps
|
||||||
for image in *png; do
|
cp build/icon.png $out/share/icons/hicolor/256x256/apps/prospect-mail.png
|
||||||
mkdir -p $out/share/icons/hicolor/''${image%.png}/apps
|
|
||||||
cp -r $image $out/share/icons/hicolor/''${image%.png}/apps/prospect-mail.png
|
|
||||||
done
|
|
||||||
popd
|
|
||||||
|
|
||||||
# Linux needs 'aplay' for notification sounds, 'libpulse' for meeting sound, and 'libpipewire' for screen sharing
|
# Linux needs 'aplay' for notification sounds, 'libpulse' for meeting sound, and 'libpipewire' for screen sharing
|
||||||
makeWrapper '${electron}/bin/electron' "$out/bin/prospect-mail" \
|
makeWrapper '${electron}/bin/electron' "$out/bin/prospect-mail" \
|
||||||
|
|
Loading…
Reference in New Issue