chore: delete obsolete icon master, gen-icns.sh, tray-icon@2x
icon.png at repo root and gen-icns.sh are replaced by the SVG-driven generator. tray-icon@2x.png is a Cocoa convention only — macOS uses the template, not the colored variant. None have remaining consumers.
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 6.1 KiB |
@@ -1,22 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Generates a proper macOS .icns from the master icon PNG using Apple's iconutil.
|
||||
# macOS applies squircle mask + shadow natively from .icns — no manual masking needed.
|
||||
set -e
|
||||
|
||||
SRC="build/icon.png"
|
||||
ICONSET="build/icon.iconset"
|
||||
|
||||
mkdir -p "$ICONSET"
|
||||
sips -z 16 16 "$SRC" --out "$ICONSET/icon_16x16.png" >/dev/null
|
||||
sips -z 32 32 "$SRC" --out "$ICONSET/icon_16x16@2x.png" >/dev/null
|
||||
sips -z 32 32 "$SRC" --out "$ICONSET/icon_32x32.png" >/dev/null
|
||||
sips -z 64 64 "$SRC" --out "$ICONSET/icon_32x32@2x.png" >/dev/null
|
||||
sips -z 128 128 "$SRC" --out "$ICONSET/icon_128x128.png" >/dev/null
|
||||
sips -z 256 256 "$SRC" --out "$ICONSET/icon_128x128@2x.png" >/dev/null
|
||||
sips -z 256 256 "$SRC" --out "$ICONSET/icon_256x256.png" >/dev/null
|
||||
sips -z 512 512 "$SRC" --out "$ICONSET/icon_256x256@2x.png" >/dev/null
|
||||
sips -z 512 512 "$SRC" --out "$ICONSET/icon_512x512.png" >/dev/null
|
||||
sips -z 1024 1024 "$SRC" --out "$ICONSET/icon_512x512@2x.png" >/dev/null
|
||||
|
||||
iconutil -c icns "$ICONSET" -o build/icon.icns
|
||||
rm -rf "$ICONSET"
|
||||
Reference in New Issue
Block a user