We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8480e98 commit 50bdf63Copy full SHA for 50bdf63
logo/convert.sh
@@ -2,6 +2,9 @@
2
set -e
3
cd "$(dirname "$(readlink -f "$0")")"
4
5
+# workaround for https://gitlab.com/inkscape/inkscape/-/issues/4716#note_1898150983
6
+export SELF_CALL=disable
7
+
8
generateImage() {
9
local infile="$1"
10
local outfile="$2"
@@ -32,14 +35,14 @@ for image in "${CONVERSION[@]}"; do
32
35
generateImage "$infile" "$outfolder"/"$outfile" "$size" &
33
36
done
34
37
;;
- static)
38
+ static)
39
for format in hdpi:72 mdpi:48 xhdpi:96 xxhdpi:144 xxxhdpi:192; do
40
outfolder=assets/mipmap-"$(cut -d':' -f1 <<< "$format")"
41
size="$(cut -d':' -f2 <<< "$format")"
42
43
44
- *)
45
+ *)
46
echo "unknown type $type" >&2
47
exit 1
48
esac
0 commit comments