spb/os-vault Public
Self-custody, multi-chain crypto wallet for macOS. One recovery phrase, six chain families, zero API keys — nothing leaves your Mac.
Swift 96%
Shell 3.4%
Makefile 0.6%
1#!/bin/bash2#3# make-icon.sh4# OS Vault5#6# Author: Simon-Pierre Boucher7# Mail: contact@spboucher.ai8#9# SVG → AppIcon.icns. Full-detail SVG for ≥64 px, simplified variant for 16/32 px.1011set -euo pipefail12cd "$(dirname "$0")/../assets/icon"1314RSVG=rsvg-convert15command -v $RSVG >/dev/null || { echo "rsvg-convert not found (brew install librsvg)"; exit 1; }1617ICONSET=AppIcon.iconset18rm -rf "$ICONSET" && mkdir "$ICONSET"1920# 16/32 from the simplified variant (16@2x = 32 px also simplified)21$RSVG -w 16 -h 16 os-vault-simple.svg -o "$ICONSET/icon_16x16.png"22$RSVG -w 32 -h 32 os-vault-simple.svg -o "$ICONSET/icon_16x16@2x.png"23$RSVG -w 32 -h 32 os-vault-simple.svg -o "$ICONSET/icon_32x32.png"24# ≥64 from the full-detail icon25$RSVG -w 64 -h 64 os-vault.svg -o "$ICONSET/icon_32x32@2x.png"26$RSVG -w 128 -h 128 os-vault.svg -o "$ICONSET/icon_128x128.png"27$RSVG -w 256 -h 256 os-vault.svg -o "$ICONSET/icon_128x128@2x.png"28$RSVG -w 256 -h 256 os-vault.svg -o "$ICONSET/icon_256x256.png"29$RSVG -w 512 -h 512 os-vault.svg -o "$ICONSET/icon_256x256@2x.png"30$RSVG -w 512 -h 512 os-vault.svg -o "$ICONSET/icon_512x512.png"31$RSVG -w 1024 -h 1024 os-vault.svg -o "$ICONSET/icon_512x512@2x.png"3233iconutil -c icns "$ICONSET" -o AppIcon.icns34rm -rf "$ICONSET"3536echo "AppIcon.icns generated."37