spb/zyquo-atlas Public License
The AI-native macOS web browser — every surface, intelligent.
Swift 75.2%
JavaScript 22%
Shell 2%
Makefile 0.9%
1#!/bin/bash2#3# generate-icon.sh4# Zyquo Atlas5#6# Author: Simon-Pierre Boucher7# Mail: contact@spboucher.ai8#9# SVG → Resources/AppIcon.icns + menu bar template PNGs.10# Sources of truth:11# assets/icon/zyquo-atlas.svg (128px+ slots — full globe + Z)12# assets/icon/zyquo-atlas-small.svg (16/32px slots — simplified)13# assets/icon/zyquo-atlas-template.svg (menu bar glyph, alpha-only)14# Rasterized with rsvg-convert (librsvg).15#16set -euo pipefail17cd "$(dirname "$0")/.."1819SVG=assets/icon/zyquo-atlas.svg20SVG_SMALL=assets/icon/zyquo-atlas-small.svg21SVG_TEMPLATE=assets/icon/zyquo-atlas-template.svg22ICONSET=$(mktemp -d)/AppIcon.iconset23mkdir -p "$ICONSET" Resources2425render() { rsvg-convert -w "$3" -h "$3" "$1" -o "$2"; }2627echo "=== Rendering iconset ==="28render "$SVG_SMALL" "$ICONSET/icon_16x16.png" 1629render "$SVG_SMALL" "$ICONSET/icon_16x16@2x.png" 3230render "$SVG_SMALL" "$ICONSET/icon_32x32.png" 3231render "$SVG_SMALL" "$ICONSET/icon_32x32@2x.png" 6432render "$SVG" "$ICONSET/icon_128x128.png" 12833render "$SVG" "$ICONSET/icon_128x128@2x.png" 25634render "$SVG" "$ICONSET/icon_256x256.png" 25635render "$SVG" "$ICONSET/icon_256x256@2x.png" 51236render "$SVG" "$ICONSET/icon_512x512.png" 51237render "$SVG" "$ICONSET/icon_512x512@2x.png" 10243839echo "=== Building icns ==="40iconutil -c icns "$ICONSET" -o Resources/AppIcon.icns4142echo "=== Menu bar template icon (18pt @1x/@2x) ==="43render "$SVG_TEMPLATE" Resources/MenuBarIcon.png 1844render "$SVG_TEMPLATE" Resources/MenuBarIcon@2x.png 364546rm -rf "$(dirname "$ICONSET")"47echo "Done: Resources/AppIcon.icns + Resources/MenuBarIcon(@2x).png"48