Files
Dario LipicarandClaude Opus 5 5981c50d8e fix(packaging): ship the module icon as a 256x256 PNG (#56)
Packaging chat_ui as an .lgx fails against a current logos-module-builder:

    ERROR: icon does not match the Logos icon standard.
      file:     src/icons/messages-square.svg
      expected: PNG, exactly 256x256
      actual:   not a PNG
      spec:     logos-package/docs/spec.md#icon-contract

The icon contract wants a raster of a fixed size; the lucide source we
added in #52 is an SVG. Rasterised at 256x256 and repointed.

Self-contained: metadata.json's `icon` is the only reference to the file,
so nothing else changes. The .svg is kept as the editable source.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-16 10:25:49 +01:00

33 lines
848 B
JSON

{
"name": "chat_ui",
"display_name": "Chat",
"version": "0.2.2",
"type": "ui_qml",
"interface": "universal",
"category": "chat",
"description": "Chat App for Logos - Private messaging interface",
"main": "chat_ui_plugin",
"view": "qml/ChatView.qml",
"icon": "src/icons/messages-square.png",
"dependencies": ["chat_module", "delivery_module"],
"codegen": {
"rep": "src/ChatBackend.rep",
"backend_class": "ChatBackend",
"backend_header": "ChatBackend.h"
},
"dependency_overrides": {
"delivery_module": {
"input": "chat_module",
"file": "rust-lib/deps/delivery_module.lidl"
}
},
"nix": {
"packages": {
"build": [],
"runtime": ["qt6.qtdeclarative", "zstd", "abseil-cpp"]
},
"external_libraries": [],
"cmake": { "find_packages": [], "extra_sources": [] }
}
}