xlights: add .desktop file & icon
This commit is contained in:
@@ -13,6 +13,16 @@ appimageTools.wrapType2 rec {
|
||||
hash = "sha256-k5HGk5t/ujPuOU/GlxhA+yKKXy0lq8YkxcQkTUVBYXM=";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extract { inherit pname version src; };
|
||||
|
||||
extraInstallCommands = ''
|
||||
install -m 444 -D ${appimageContents}/xlights.desktop $out/share/applications/xlights.desktop
|
||||
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/256x256/apps/xlights.png \
|
||||
$out/share/icons/hicolor/256x256/apps/xlights.png
|
||||
substituteInPlace $out/share/applications/xlights.desktop \
|
||||
--replace-fail 'Exec=xLights' 'Exec=xlights'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Sequencer for lights with USB and E1.31 drivers";
|
||||
homepage = "https://xlights.org";
|
||||
|
||||
Reference in New Issue
Block a user