Check the app's icon: say when it can't be used, refuse it on publish

An icon.png that's missing, a link, over 1 MB or not a PNG used to
become the default silently. The installer and coreapp deploy now say
so (and note icons that aren't square or are small); coreapp publish
refuses an unusable or uncommitted one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 15:53:06 -07:00
co-authored by Claude Opus 5.5
parent 77427f2f16
commit e2d9381c35
6 changed files with 73 additions and 13 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ coreapp remove # uninstall it from the Core
|---|---|
| `coreapp.toml` | What the Core needs to know: name, title, image and version, port, health path, and what it needs from the Core (`needs`) |
| `Dockerfile`, `www/` | The app itself |
| `icon.png` | Its icon in the Core's dashboard (a PNG, up to 1 MB) |
| `icon.png` | Its icon in the Core's dashboard: a square PNG, 256x256 is good, up to 1 MB. This one is a placeholder |
That's all an app has. The Core's side (the container on the Core's `core`
network, the traefik route to `https://{{NAME}}.<domain>`, its settings and