Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better space handling, and a transparent DEBUG banner to create overlays #7922

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

artificiel
Copy link
Contributor

this is an update to the macOS icon processing script, now with "debug" banner overlay for the debug version. an example:

image

@dimitre
Copy link
Member

dimitre commented May 9, 2024

Nice. I'm using now icons all the time, but most doesn't fit the recommended macOS icon shape
Screenshot 2024-05-09 at 13 14 35
I'm using just the 512 and 1024 version so the icns is smaller

#!/bin/bash
cd "$(dirname "$0")"
#sips -s format icns *.png --out myIcon.icns
# NAME=of
# NAME=of_debug

for NAME in *.png; do
    NAME = "${NAME%.*}"
    mkdir ${NAME}.iconset
    sips -z 512 512 ${NAME} --out ${NAME}.iconset/icon_512x512.png
    cp ${NAME} ${NAME}.iconset/icon_512x512@2x.png
    iconutil -c icns ${NAME}.iconset
    rm -R ${NAME}.iconset
done

@artificiel artificiel mentioned this pull request May 16, 2024
36 tasks
@ofTheo
Copy link
Member

ofTheo commented May 16, 2024

Love it!! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants