spb/zyquo-router Public MIT
One local endpoint, every AI provider — a private OpenAI-compatible LLM gateway for your Mac (170 models, 12 providers).
Swift 95.7%
Python 2.3%
Shell 1.2%
Makefile 0.9%
1#!/bin/bash2#3# generate-icon.sh4# Zyquo Router5#6# Author: Simon-Pierre Boucher7# Mail: contact@spboucher.ai8#9# SVG → AppIcon.icns + menu bar template PNGs. The SVGs in assets/icon are10# the source of truth; 16/32 px slices come from the simplified variant11# (the routing fan reads as noise below 64 px).12#13set -euo pipefail1415cd "$(dirname "$0")/.."1617SVG=assets/icon/zyquo-router.svg18SVG_SMALL=assets/icon/zyquo-router-small.svg19SVG_TEMPLATE=assets/icon/zyquo-router-template.svg20ICONSET=.build/AppIcon.iconset2122command -v rsvg-convert >/dev/null || { echo "rsvg-convert not found (brew install librsvg)"; exit 1; }2324rm -rf "$ICONSET"25mkdir -p "$ICONSET" Resources2627render() { rsvg-convert -w "$2" -h "$2" "$1" -o "$ICONSET/$3"; }2829# Small sizes from the simplified variant.30render "$SVG_SMALL" 16 icon_16x16.png31render "$SVG_SMALL" 32 icon_16x16@2x.png32render "$SVG_SMALL" 32 icon_32x32.png33render "$SVG" 64 icon_32x32@2x.png34# Full art from 128 up.35render "$SVG" 128 icon_128x128.png36render "$SVG" 256 icon_128x128@2x.png37render "$SVG" 256 icon_256x256.png38render "$SVG" 512 icon_256x256@2x.png39render "$SVG" 512 icon_512x512.png40render "$SVG" 1024 icon_512x512@2x.png4142iconutil -c icns "$ICONSET" -o Resources/AppIcon.icns43echo "Resources/AppIcon.icns written"4445# Menu bar template glyph (18 pt @1x/@2x).46rsvg-convert -w 18 -h 18 "$SVG_TEMPLATE" -o Resources/MenuBarIcon.png47rsvg-convert -w 36 -h 36 "$SVG_TEMPLATE" -o Resources/MenuBarIcon@2x.png48echo "Resources/MenuBarIcon(@2x).png written"49