#!/bin/bash
# Exit immediately on error, treat unset variables as errors, propagate pipe failures.
set -euo pipefail
# Load shared log/warn/skip helpers from the installer library.
source "$(dirname "${BASH_SOURCE[0]}")/../../lib/logging.sh"

log "Installing OpenShot (AUR)..."
# OpenShot is a non-linear video editor. It is AUR-only (no longer in the
# official repos), so install via the AUR helper — `pacman -S openshot`
# fails with "target not found".
yay -S --answerdiff None --answerclean All --noconfirm --needed openshot
log "OpenShot installed."
