spb/zyquo-cloud Public MIT
Native macOS AI chat client for 12 cloud providers — your keys, every cloud model, one beautiful chat.
Swift 97.4%
Shell 1.7%
Makefile 1%
1#!/bin/bash2#3# generate-icon.sh4# Zyquo Cloud5#6# Author: Simon-Pierre Boucher7# Mail: contact@spboucher.ai8#9# SVG → Resources/AppIcon.icns + menu bar template PNGs.10# Sources of truth: assets/icon/zyquo-cloud.svg (128px+ slots),11# assets/icon/zyquo-cloud-small.svg (16/32px slots — simplified variant),12# assets/icon/zyquo-cloud-template.svg (menu bar glyph).13# Rasterized with scripts/rasterize-svg.swift (AppKit/CoreSVG; librsvg not14# installed on this machine).15#16set -euo pipefail17cd "$(dirname "$0")/.."1819SVG=assets/icon/zyquo-cloud.svg20SVG_SMALL=assets/icon/zyquo-cloud-small.svg21SVG_TEMPLATE=assets/icon/zyquo-cloud-template.svg22ICONSET=$(mktemp -d)/AppIcon.iconset23mkdir -p "$ICONSET" Resources2425render() { swift scripts/rasterize-svg.swift "$1" "$2" "$3"; }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