only install largest size to remove dependency
This commit is contained in:
parent
7547d07a76
commit
78f32132a2
@ -50,13 +50,8 @@
|
||||
ln -s "${desktopItem}/share/applications" $out/share/applications
|
||||
|
||||
# Install icons
|
||||
mkdir -p $out/share/icons/
|
||||
for dimension in 128 256 512; do
|
||||
dimensions=''${dimension}x''${dimension}
|
||||
mkdir -p $out/share/icons/hicolor/$dimensions/apps
|
||||
|
||||
"${pkgs.imagemagick}/bin/convert" ${icon} -resize $dimensions $out/share/icons/hicolor/$dimensions/apps/${name}.png
|
||||
done
|
||||
mkdir -p $out/share/icons/1024x1024/apps
|
||||
ln -s ${icon} $out/share/icons/1024x1024/apps/${name}.png
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user