mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
Merge pull request #275240 from blackheaven/appflowy-icon
appflowy: add desktop icon
This commit is contained in:
commit
1182852897
@ -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" ];
|
||||
})
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user