Add tray script under the scripts folder.

This commit is contained in:
imonlinux
2025-11-26 19:53:38 -08:00
committed by GitHub
parent 0a2c227cad
commit 85560b8126
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -euo pipefail
# Resolve repo root (one level up from this script)
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
# Activate venv if present
if [[ -d "$ROOT_DIR/.venv" ]]; then
# shellcheck disable=SC1090
source "$ROOT_DIR/.venv/bin/activate"
fi
cd "$ROOT_DIR"
# Run the tray client
exec python lva_tray_client.py "$@"