Skip to content

Commit b4fa0e9

Browse files
1 parent 0d51ec6 commit b4fa0e9

File tree

5 files changed

+130
-1
lines changed

5 files changed

+130
-1
lines changed

src/main/icons-src/convert.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,18 @@ function convertXcf {
99
image=$1
1010
echo "Converting ${image}"
1111
convert -alpha Set -background none -layers merge "${image}.xcf" "${dst}/${image}@tmp.png"
12+
convert -alpha Set -background none -layers merge "${image}.xcf" "${dst}/${image}.svg"
1213
convert -resize 32x32 "${dst}/${image}@tmp.png" "${dst}/${image}@2x.png"
1314
convert -resize 16x16 "${dst}/${image}@tmp.png" "${dst}/${image}.png"
1415
rm "${dst}/${image}@tmp.png"
1516
}
1617

1718

18-
rm -rvf $dst
19+
rm -r $dst
1920
mkdir $dst
2021

22+
convertXcf 'pluginIcon'
23+
convertXcf 'pluginIcon_dark'
2124
convertXcf 'proto'
2225
convertXcf 'proto_dark'
2326
convertXcf 'message'

src/main/icons-src/pluginIcon.xcf

23.5 KB
Binary file not shown.
23.5 KB
Binary file not shown.
Lines changed: 63 additions & 0 deletions
Loading
Lines changed: 63 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)