#!/usr/bin/env bash
# Migration: ship an xdg-terminal-exec handler (shim + xdg-terminals.list) so
# app2unit's hardcoded terminal handler resolves and Terminal=true apps launch
# Idempotent — delegates to the component installer.
set -euo pipefail
: "${NOSIGNAL_SRC:?NOSIGNAL_SRC must point at the NoSignal source root}"
sh "$NOSIGNAL_SRC/xdg-terminal-exec-handler/install-xdg-terminal-exec-handler.sh"
