Merge pull request #275240 from blackheaven/appflowy-icon

appflowy: add desktop icon
This commit is contained in:
Weijia Wang 2024-01-03 16:12:29 +01:00 committed by GitHub
commit 1182852897
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" ];
})
];