macOS icns setup (en Castellano)

Hola lectores,

Hoy vamos a aprender cómo crear un archivo de icono icns.

Primero:

Vamos a crear una carpeta de conjunto de iconos:

Ahora, usemos un script de código para trabajar, es una correción que encontré:

mkdir icon.iconset

output_path=~/Projects/ringsce/icon.iconset

# the convert command comes from imagemagick
for size in 16 32 64 128 256; do
half=”$(($size / 2))”
convert RINGSCE_V2.png -resize x$size $output_path/icon_${size}x${size}.png
convert RINGSCE_V2.png -resize x$size $output_path/icon_${half}x${half}@2x.png
done

iconutil -c icns $output_path

Ahora, vamos a ejecutar este script.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

12 − two =

coder by Gleentech
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.