From ffda66ca0366704c05c1e933bd0a05a0ce419e08 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 25 Feb 2018 14:17:16 -0500 Subject: Make the AppImage icon square --- appimage/build-appimage | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'appimage/build-appimage') diff --git a/appimage/build-appimage b/appimage/build-appimage index d292a0c0..248588ef 100755 --- a/appimage/build-appimage +++ b/appimage/build-appimage @@ -112,7 +112,9 @@ rm -rf appdir/usr/include appdir/usr/lib/pkgconfig appdir/usr/lib/*.{a,la,so} for width in 64 128 256 512; do dir=appdir/usr/share/icons/hicolor/${width}x${width}/apps mkdir -p $dir - inkscape -z -e $dir/qpdf.png -w $width -b white $top/logo/qpdf.svg + inkscape -z -e qpdf-tmp.png -w $width -b white $top/logo/qpdf.svg + convert qpdf-tmp.png -gravity center -background white -extent ${width}x${width} $dir/qpdf.png + rm qpdf-tmp.png done # Copy .desktop and .appdata.xml metadata for desktop integration into place: -- cgit v1.2.3-54-g00ecf