From 9123026a32e89ddbbbfcb85c0486d72a3c435bf7 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Fri, 28 Jun 2024 14:28:33 +0100 Subject: [PATCH] refactor: update nix flake to be consistent with other packaging --- package.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package.nix b/package.nix index 8ba1e27..dc89e31 100644 --- a/package.nix +++ b/package.nix @@ -31,8 +31,10 @@ flutter.buildFlutterApplication rec { nativeBuildInputs = [ copyDesktopItems ]; postFixup = '' - mkdir -p $out/share/pixmaps - cp $out/app/data/flutter_assets/assets/images/logo_pink.png $out/share/pixmaps/quickemu.png + for SIZE in 16 32 48 64 128 256 512; do + mkdir -p $out/share/icons/hicolor/$SIZEx$SIZE/apps/ + cp -av assets/resources/quickgui_$SIZE.png $out/share/icons/hicolor/$SIZEx$SIZE/apps/quickgui.png + done ''; desktopItems = [ @@ -41,12 +43,13 @@ flutter.buildFlutterApplication rec { exec = "quickgui"; icon = "quickgui"; desktopName = "Quickgui"; + comment = "An elegant virtual machine manager for the desktop"; categories = [ "Development" "System" ]; }) ]; meta = with lib; { - description = "Flutter frontend for quickemu"; + description = "An elegant virtual machine manager for the desktop"; homepage = "https://github.com/quickemu-project/quickgui"; changelog = "https://github.com/quickemu-project/quickgui/releases/"; license = licenses.mit;