about summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2024-01-03 16:12:29 +0100
committerGitHub <noreply@github.com>2024-01-03 16:12:29 +0100
commit1182852897ade432407887bc74052dd88966556c (patch)
tree6d9682421bc610cdbfb2d17ba900f107beb0c90b /pkgs/applications/office
parent2c43b4c9212d77151bf6ec65d27349d484066b0c (diff)
parentba20f7d5876d7286ba466aa4461c0e0cd76ed958 (diff)
Merge pull request #275240 from blackheaven/appflowy-icon
appflowy: add desktop icon
Diffstat (limited to 'pkgs/applications/office')
-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" ];
     })
   ];