squirrel/assets/build/genIco.sh
2025-04-17 16:21:16 +02:00

9 lines
227 B
Bash

#!/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