about summary refs log tree commit diff
path: root/pkgs/applications/office/appflowy
diff options
context:
space:
mode:
authorGautier DI FOLCO <gautier.difolco@gmail.com>2023-12-18 19:41:06 +0100
committerGautier DI FOLCO <gautier.difolco@gmail.com>2023-12-19 23:26:27 +0100
commitba20f7d5876d7286ba466aa4461c0e0cd76ed958 (patch)
treed36f33cb8b1c170c7c8b938704a554a465d4115c /pkgs/applications/office/appflowy
parenta96dfb45810f41a6e0f6db5a6bae8039a5927093 (diff)
appflowy: add desktop icon
Diffstat (limited to 'pkgs/applications/office/appflowy')
-rw-r--r--pkgs/applications/office/appflowy/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/office/appflowy/default.nix b/pkgs/applications/office/appflowy/default.nix
index 3e281d59bc9d9..56d346907a1c6 100644
--- a/pkgs/applications/office/appflowy/default.nix
+++ b/pkgs/applications/office/appflowy/default.nix
@@ -47,6 +47,9 @@ stdenv.mkDerivation rec {
     # Copy archive contents to the outpout directory
     cp -r ./* $out/opt/
 
+    # Copy icon
+    install -Dm444 data/flutter_assets/assets/images/flowy_logo.svg $out/share/icons/hicolor/scalable/apps/appflowy.svg
+
     runHook postInstall
   '';
 
@@ -63,6 +66,7 @@ stdenv.mkDerivation rec {
       desktopName = "AppFlowy";
       comment = meta.description;
       exec = "appflowy";
+      icon = "appflowy";
       categories = [ "Office" ];
     })
   ];