deltachat-desktop: fix icon
This commit is contained in:
parent
609816b0ce
commit
401a033c6f
1 changed files with 3 additions and 4 deletions
|
@ -81,6 +81,9 @@ in nodejs-14_x.pkgs.deltachat-desktop.override rec {
|
||||||
|
|
||||||
npm prune --production
|
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 \
|
awk '!/^#/ && NF' build/packageignore_list \
|
||||||
| xargs -I {} sh -c "rm -rf {}" || true
|
| 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
|
$out/lib/node_modules/deltachat-desktop/html-dist/fonts
|
||||||
done
|
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 \
|
makeWrapper ${electronExec} $out/bin/deltachat \
|
||||||
--set LD_PRELOAD ${sqlcipher}/lib/libsqlcipher${stdenv.hostPlatform.extensions.sharedLibrary} \
|
--set LD_PRELOAD ${sqlcipher}/lib/libsqlcipher${stdenv.hostPlatform.extensions.sharedLibrary} \
|
||||||
--add-flags $out/lib/node_modules/deltachat-desktop
|
--add-flags $out/lib/node_modules/deltachat-desktop
|
||||||
|
|
Loading…
Reference in a new issue