This commit is contained in:
2026-05-24 02:40:17 -03:00
parent af8bc99e81
commit f9335a42d6
3 changed files with 52 additions and 30 deletions
+7 -2
View File
@@ -14,7 +14,12 @@ pkgs.appimageTools.wrapType2 rec {
contents = pkgs.appimageTools.extract { inherit pname version src; };
in
''
install -m 444 -D ${contents}/${pname}.desktop -t $out/share/applications
cp -r ${contents}/usr/share/icons $out/share
if [ -f ${contents}/*.desktop ]; then
install -Dm444 ${contents}/*.desktop -t $out/share/applications
fi
if [ -d ${contents}/usr/share/icons ]; then
cp -r ${contents}/usr/share/icons $out/share
fi
'';
}