- Add GitHub Actions workflows for CI and releases - Create icon generation script and SVG source - Configure electron-builder for macOS, Windows, Linux - Add macOS entitlements for code signing - Add Linux post-install/remove scripts - Enhance package.json with publishing scripts - Add artifact naming convention
bad94e7e76
·
2026-02-05 23:39:55 +08:00
History
ClawX Application Icons
This directory contains the application icons for all supported platforms.
Required Files
| File | Platform | Description |
|---|---|---|
icon.svg |
Source | Vector source for all icons |
icon.icns |
macOS | Apple Icon Image format |
icon.ico |
Windows | Windows ICO format |
icon.png |
All | 512x512 PNG fallback |
16x16.png - 512x512.png |
Linux | PNG set for Linux |
Generating Icons
Using the Script
# Make the script executable
chmod +x scripts/generate-icons.sh
# Run icon generation
./scripts/generate-icons.sh
Prerequisites
macOS:
brew install imagemagick librsvg
Linux:
apt install imagemagick librsvg2-bin
Windows: Install ImageMagick from https://imagemagick.org/
Manual Generation
If you prefer to generate icons manually:
-
macOS (.icns)
- Create a
.iconsetfolder with properly named PNGs - Run:
iconutil -c icns -o icon.icns ClawX.iconset
- Create a
-
Windows (.ico)
- Use ImageMagick:
convert icon_16.png icon_32.png icon_64.png icon_128.png icon_256.png icon.ico
- Use ImageMagick:
-
Linux (PNGs)
- Generate PNGs at: 16, 32, 48, 64, 128, 256, 512 pixels
Design Guidelines
- Background: Gradient from #6366f1 to #8b5cf6 (Indigo to Violet)
- Corner Radius: ~20% of width (200px on 1024px canvas)
- Foreground: White claw symbol with "X" accent
- Safe Area: Keep 10% margin from edges
Updating the Icon
- Edit
icon.svgwith your vector editor (Figma, Illustrator, Inkscape) - Run
./scripts/generate-icons.sh - Verify generated icons look correct
- Commit all generated files