SimPaM/patient-monitor-simulation/scripts/install-flatpak-assets.sh
GABRIEL Sebastian f0267f5493 v0.6.12 — Application icon and desktop metadata
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.
2026-11-13 20:49:07 +01:00

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"