squirrel/assets/build/genIco.sh

10 lines
227 B
Bash
Raw Normal View History

2025-04-17 14:21:16 +00:00
#!/bin/bash
# Libary needed: ImageMagick
#
# Needs 2 input args:
# 1. The path of the source file
# 2. The output path (with .ico extension)
convert -density 300 -define icon:auto-resize=96,64,48,32,16 -background none $1 $2