SPB Git

spb/zyquo-local Public MIT

Native macOS AI chat that runs LLMs 100% locally on Apple Silicon with MLX — no cloud, no API keys.

Swift 97.2% Shell 1.8% Makefile 1%
1.6 KB · 43 lines shellscript
Raw Blame History
1#!/bin/bash2#3#  make-icon.sh4#  Zyquo Local5#6#  Author: Simon-Pierre Boucher7#  Mail: contact@spboucher.ai8#9# SVG → AppIcon.icns + menu bar template PNGs.10# Full-detail SVG for ≥64 px, simplified variant baked for 16/32 px.1112set -euo pipefail13cd "$(dirname "$0")/../assets/icon"1415RSVG=rsvg-convert16command -v $RSVG >/dev/null || { echo "rsvg-convert not found (brew install librsvg)"; exit 1; }1718ICONSET=AppIcon.iconset19rm -rf "$ICONSET" && mkdir "$ICONSET"2021# 16/32 from the simplified variant (16@2x = 32 px also simplified)22$RSVG -w 16   -h 16   zyquo-local-simple.svg -o "$ICONSET/icon_16x16.png"23$RSVG -w 32   -h 32   zyquo-local-simple.svg -o "$ICONSET/icon_16x16@2x.png"24$RSVG -w 32   -h 32   zyquo-local-simple.svg -o "$ICONSET/icon_32x32.png"25# ≥64 from the full-detail icon26$RSVG -w 64   -h 64   zyquo-local.svg -o "$ICONSET/icon_32x32@2x.png"27$RSVG -w 128  -h 128  zyquo-local.svg -o "$ICONSET/icon_128x128.png"28$RSVG -w 256  -h 256  zyquo-local.svg -o "$ICONSET/icon_128x128@2x.png"29$RSVG -w 256  -h 256  zyquo-local.svg -o "$ICONSET/icon_256x256.png"30$RSVG -w 512  -h 512  zyquo-local.svg -o "$ICONSET/icon_256x256@2x.png"31$RSVG -w 512  -h 512  zyquo-local.svg -o "$ICONSET/icon_512x512.png"32$RSVG -w 1024 -h 1024 zyquo-local.svg -o "$ICONSET/icon_512x512@2x.png"3334iconutil -c icns "$ICONSET" -o AppIcon.icns35rm -rf "$ICONSET"3637# Menu bar template icon (18 pt @1x/@2x)38mkdir -p menubar39$RSVG -w 18 -h 18 zyquo-local-template.svg -o menubar/MenuBarIcon.png40$RSVG -w 36 -h 36 zyquo-local-template.svg -o menubar/MenuBarIcon@2x.png4142echo "AppIcon.icns + menubar template generated."43