#!/usr/bin/env bash
# DEPRECATED compat shim — the applet is now Diplomat (launcher: linux/diplomat).
# Pre-rename installs still reference this path (the autostart .desktop, the
# argent-utils-update.service 6AM unit, and the old updater's relaunch), so keep
# forwarding until every machine has re-run install/install-autostart.sh;
# then this file can be deleted.
set -euo pipefail
if [ "${ARGENT_UTILS_SELF_UPDATE:-}" = "1" ]; then
    export DIPLOMAT_SELF_UPDATE=1
fi
exec "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/diplomat" "$@"
