Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 3659cad

Browse files
committed
bin: Don't remove intermediate icons, simply ignore them
1 parent 54b9bcb commit 3659cad

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,9 @@ data-test/
1616
tmp/
1717
.eslintcache
1818

19-
out/
19+
out/
20+
21+
images/app-icons/png/16x16.png
22+
images/app-icons/png/32x32.png
23+
images/app-icons/png/512x512.png
24+
images/app-icons/png/1024x1024.png

bin/create-icons.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ for size in "${sizes[@]}"; do
2525
magick -background none "../icon-color.svg" -resize "${size}" "./png/${size}.png"
2626
done
2727
icnsutil compose -f "mac/icon.icns" "./png/16x16.png" "./png/32x32.png" "./png/128x128.png" "./png/512x512.png" "./png/1024x1024.png"
28-
rm "./png/16x16.png" "./png/32x32.png" "./png/512x512.png" "./png/1024x1024.png"
2928

3029
# Build Windows icon
3130
magick -background none "../icon-color.svg" -define icon:auto-resize=16,32,48,64,128,256 "./win/icon.ico"

0 commit comments

Comments
 (0)