/ resources / README.md
README.md
 1  # Electron Build Resources
 2  
 3  App icons consumed by `electron-builder`:
 4  
 5  - `icon.icns`: macOS (1024×1024 source, all @1x/@2x sizes baked in)
 6  - `icon.ico`: Windows (multi-resolution: 16, 24, 32, 48, 64, 128, 256)
 7  - `icon.png`: Linux (1024×1024) and runtime fallback for `app.dock.setIcon`
 8  
 9  These files are generated from `public/branding/swarmclaw-org-avatar.png` by
10  `scripts/gen-icons.mjs` (macOS only — requires `sips` + `iconutil` from Xcode
11  command line tools, plus the `png-to-ico` devDependency). Regenerate with:
12  
13  ```
14  node scripts/gen-icons.mjs
15  ```
16  
17  Commit the regenerated files. The generator is deterministic for the same source.