Skip to content

Commit

Permalink
Added gen scripts for resources
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmuscaria committed Aug 28, 2024
1 parent fc19804 commit a465c2f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/resources/icons/genIcons.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
magick convert DMM.png -write mpr:img \
\( mpr:img -resize 16x16 +write x16.png \) \
\( mpr:img -resize 32x32 +write x32.png \) \
\( mpr:img -resize 64x64 +write x64.png \) \
\( mpr:img -resize 128x128 +write x128.png \) \
\( mpr:img -resize 256x256 +write x256.png \) \
\( mpr:img -define icon:auto-resize=16,32,64,128 +write DMM.ico \) \
null:
2 changes: 2 additions & 0 deletions src/main/windows/compile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
x86_64-w64-mingw32-windres dmm.rc -o dmm.res

0 comments on commit a465c2f

Please sign in to comment.