Rename to storebound (plugin, CLI, config file, credentials folder, repo)
This commit is contained in:
parent
3cd31b7601
commit
11c45efab8
52 changed files with 171 additions and 171 deletions
|
|
@ -5,19 +5,19 @@ description: Generate every app icon a mobile game needs from one artwork - App
|
|||
|
||||
# App icons from one artwork
|
||||
|
||||
CLI: `crt-ship icons` (or `bun ${CLAUDE_PLUGIN_ROOT}/cli/index.ts icons`). Needs `ffmpeg` (`cwebp` optional).
|
||||
CLI: `storebound icons` (or `bun ${CLAUDE_PLUGIN_ROOT}/cli/index.ts icons`). Needs `ffmpeg` (`cwebp` optional).
|
||||
|
||||
## Inputs (`icons` in crt-ship.config.ts)
|
||||
## Inputs (`icons` in storebound.config.ts)
|
||||
- `composite`: 1024 x 1024 opaque full icon (stores, iOS, web)
|
||||
- `foreground`: 1024 RGBA, the subject on transparency (adaptive + maskable)
|
||||
- `background`: 1024 opaque background layer
|
||||
- outputs: `out` (store icons), `web`, `capacitorAssets` + `capacitorCommand`, `androidRes`
|
||||
|
||||
## Steps
|
||||
1. Put the three PNGs in the project, set the paths, `crt-ship check`.
|
||||
2. `crt-ship icons --dry` lists every file it will write; then `crt-ship icons`.
|
||||
1. Put the three PNGs in the project, set the paths, `storebound check`.
|
||||
2. `storebound icons --dry` lists every file it will write; then `storebound icons`.
|
||||
3. With Capacitor: set `capacitorAssets` (e.g. `assets`) and
|
||||
`capacitorCommand: 'bunx @capacitor/assets generate --assetPath assets'`; crt-ship writes the three sources, runs it,
|
||||
`capacitorCommand: 'bunx @capacitor/assets generate --assetPath assets'`; storebound writes the three sources, runs it,
|
||||
and then redraws the Android legacy icons (step order matters).
|
||||
4. Verify: `sips -g hasAlpha store/icons/app-store-1024.png` says no; install on an Android device with a circle
|
||||
launcher mask and an old launcher (legacy icons); check the web favicon and the PWA maskable preview.
|
||||
|
|
@ -26,9 +26,9 @@ CLI: `crt-ship icons` (or `bun ${CLAUDE_PLUGIN_ROOT}/cli/index.ts icons`). Needs
|
|||
- **Adaptive foreground scale ~0.7**: the anydpi-v26 xml insets both layers 16.7 %, and launchers mask the visible
|
||||
part (often a circle). At 0.7 the subject's corners sit just inside the circle. Tune with `adaptiveScale`.
|
||||
- **Legacy icons**: @capacitor/assets crops the full square artwork into `ic_launcher` / `ic_launcher_round`, cutting
|
||||
off anything near the corners. crt-ship redraws them from the adaptive composite with a circle and a 22 % rounded
|
||||
off anything near the corners. storebound redraws them from the adaptive composite with a circle and a 22 % rounded
|
||||
square mask (4x supersampled).
|
||||
- **App Store 1024 must have no alpha channel** (upload or review fails); crt-ship writes rgb24.
|
||||
- **App Store 1024 must have no alpha channel** (upload or review fails); storebound writes rgb24.
|
||||
- Stores and launchers round the corners themselves: deliver full squares, never pre-rounded icons.
|
||||
- Web icons as 256-colour PNGs (about a third of the size); maskable icon keeps the subject in the 80 % safe zone.
|
||||
- Play listing icon is 512 x 512, separate from the launcher icons in the AAB.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue