You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gen-icon.sh
+4-4
Original file line number
Diff line number
Diff line change
@@ -83,10 +83,10 @@ if [[ resvg -ne 0 ]]; then
83
83
exit 1
84
84
fi
85
85
86
-
command -v convert> /dev/null; magick=$?
86
+
command -v magick> /dev/null; magick=$?
87
87
88
88
if [[ magick -ne 0 ]];then
89
-
echo"Cannot find 'convert' command. Make sure ImageMagick is installed and reachable from the current working directory. See: https://www.imagemagick.org">&2
89
+
echo"Cannot find 'magick' command. Make sure ImageMagick is installed and reachable from the current working directory. See: https://www.imagemagick.org">&2
90
90
exit 1
91
91
fi
92
92
@@ -143,12 +143,12 @@ for f in "$@"; do
143
143
144
144
if((${#pngs[@]}>0));then
145
145
ico="$name.g.ico"
146
-
convert -background none "${pngs[@]}""$ico"
146
+
magick -background none "${pngs[@]}""$ico"
147
147
fi
148
148
149
149
if(( apple !=0));then
150
150
ifwait -n "$apple_job";then
151
-
convert"$apple_icon" -define png:exclude-chunks=date,time -background white -gravity center -extent "${apple_touch_icon_size}x${apple_touch_icon_size}""$apple_icon"
151
+
magick"$apple_icon" -define png:exclude-chunks=date,time -background white -gravity center -extent "${apple_touch_icon_size}x${apple_touch_icon_size}""$apple_icon"
0 commit comments