Added the supplied CCCA SVG as a square, scalable application icon. GTK embeds it for local Cargo launches, and Flatpak assets include a matching desktop entry and AppStream metadata under `at.criticalcare.SimPaM`. Added a small Flatpak asset installer and packaging instructions; the physiological simulation and audio backend are unchanged.
9 lines
486 B
Shell
9 lines
486 B
Shell
#!/bin/sh
|
|
# Run from the Cargo project root during the Flatpak module's build commands.
|
|
# Deliberately separate from the executable installation.
|
|
set -eu
|
|
prefix="${1:-/app}"
|
|
id='at.criticalcare.SimPaM'
|
|
install -Dm644 "data/${id}.desktop" "${prefix}/share/applications/${id}.desktop"
|
|
install -Dm644 "data/${id}.metainfo.xml" "${prefix}/share/metainfo/${id}.metainfo.xml"
|
|
install -Dm644 "data/icons/hicolor/scalable/apps/${id}.svg" "${prefix}/share/icons/hicolor/scalable/apps/${id}.svg"
|