From 381498433fd8077d3a9903e348fe6131c2423989 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Sat, 31 May 2025 19:15:46 +0200 Subject: [PATCH] fix(flake): copy app icon --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 4d89c8d0f..a2dd0197b 100644 --- a/flake.nix +++ b/flake.nix @@ -65,8 +65,9 @@ installPhase = '' 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 apps/client/src/assets/icon.png $out/share/icons/hicolor/512x512/apps/trilium.png makeWrapper ${lib.getExe electron} $out/bin/trilium \ "''${gappsWrapperArgs[@]}" \ --set-default ELECTRON_IS_DEV 0 \