11 lines
368 B
Bash
Executable File
11 lines
368 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Renders the app icon from the design tokens and stores it as Design/AppIcon.icns (committed).
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
|
|
swift build --product SstIcon
|
|
rm -rf build/AppIcon.iconset
|
|
.build/debug/SstIcon build/AppIcon.iconset
|
|
iconutil -c icns build/AppIcon.iconset -o Design/AppIcon.icns
|
|
echo "Icoon geschreven: Design/AppIcon.icns"
|