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
+6
View File
@@ -424,6 +424,12 @@ Done 2026-12-03:
wordpress do
- Without `docs`, the tile links a search of Federated's documentation;
apps installed from a repository now default to the repository
- Icons (2026-12-03): an unusable `icon.png` (missing, a link, over 1 MB,
not a PNG) used to become the default silently. The installer now says
so; `coreapp deploy` also notes one that isn't square or is under 80px
(the tile is 40x40); `coreapp publish` refuses an unusable one, or one
that isn't committed. Only PNG: Superpanel's scripts take `icon.svg`
too, but an SVG can carry scripts, so it'd need cleaning first
- [ ] Look at the dashboard signed in as an admin: the tiles' links and
icons, and "Disk Usage by App"