mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
fix(flake): copy app icon
This commit is contained in:
parent
628c52eb04
commit
381498433f
@ -65,8 +65,9 @@
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/{bin,opt/trilium}
|
mkdir -p $out/{bin,share/icons/hicolor/512x512/apps,opt/trilium}
|
||||||
cp --archive apps/desktop/dist/* $out/opt/trilium
|
cp --archive apps/desktop/dist/* $out/opt/trilium
|
||||||
|
cp apps/client/src/assets/icon.png $out/share/icons/hicolor/512x512/apps/trilium.png
|
||||||
makeWrapper ${lib.getExe electron} $out/bin/trilium \
|
makeWrapper ${lib.getExe electron} $out/bin/trilium \
|
||||||
"''${gappsWrapperArgs[@]}" \
|
"''${gappsWrapperArgs[@]}" \
|
||||||
--set-default ELECTRON_IS_DEV 0 \
|
--set-default ELECTRON_IS_DEV 0 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user