#!/bin/bash # AppImage launcher for Amethyst Desktop. # kdroidFilter ComposeMediaPlayer uses the host system's GStreamer (linked at # runtime). Users need: # sudo apt install gstreamer1.0-plugins-base gstreamer1.0-plugins-good \ # gstreamer1.0-plugins-bad gstreamer1.0-libav # (Equivalent packages on Fedora/Arch.) set -eu HERE="$(dirname "$(readlink -f "${0}")")" # Multiarch lib path is set by the host, not baked at build time — same # AppRun works in both x86_64 and aarch64 AppImages. GNU_TRIPLET="$(uname -m)-linux-gnu" export LD_LIBRARY_PATH="${HERE}/usr/lib:${HERE}/usr/lib/${GNU_TRIPLET}:${LD_LIBRARY_PATH:-}" export PATH="${HERE}/usr/bin:${PATH}" export APPDIR="${HERE}" exec "${HERE}/usr/bin/Amethyst" "$@"