deltachat-desktop: fix icon

This commit is contained in:
Robert Schütz 2022-03-27 18:35:34 +00:00 committed by Robert Schütz
parent 609816b0ce
commit 401a033c6f

View file

@ -81,6 +81,9 @@ in nodejs-14_x.pkgs.deltachat-desktop.override rec {
npm prune --production
install -D $out/lib/node_modules/deltachat-desktop/build/icon.png \
$out/share/icons/hicolor/scalable/apps/deltachat.png
awk '!/^#/ && NF' build/packageignore_list \
| xargs -I {} sh -c "rm -rf {}" || true
@ -91,10 +94,6 @@ in nodejs-14_x.pkgs.deltachat-desktop.override rec {
$out/lib/node_modules/deltachat-desktop/html-dist/fonts
done
mkdir -p $out/share/icons/hicolor/scalable/apps
ln -s $out/lib/node_modules/deltachat-desktop/build/icon.png \
$out/share/icons/hicolor/scalable/apps/deltachat.png
makeWrapper ${electronExec} $out/bin/deltachat \
--set LD_PRELOAD ${sqlcipher}/lib/libsqlcipher${stdenv.hostPlatform.extensions.sharedLibrary} \
--add-flags $out/lib/node_modules/deltachat-desktop