From cf68213d6664e60b834dae1be1be8dc0b978ff75 Mon Sep 17 00:00:00 2001 From: Christopher Warner Date: Tue, 13 Oct 2026 15:12:51 -0400 Subject: fix: resolve shared lib path through installed symlinks readlink -f the helper scripts so encode/install-videos find lib/ under ~/.local/share after install. Co-authored-by: Cursor --- bin/encode-aerial-lite | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/encode-aerial-lite') diff --git a/bin/encode-aerial-lite b/bin/encode-aerial-lite index 56621e0..d4b9c22 100755 --- a/bin/encode-aerial-lite +++ b/bin/encode-aerial-lite @@ -7,7 +7,8 @@ # SRC_DIR=/path/to/4k DST_DIR=~/Videos/Screensavers/Aerial encode-aerial-lite set -euo pipefail -ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" +SCRIPT_PATH="$(readlink -f "${BASH_SOURCE[0]}")" +ROOT="$(cd "$(dirname "$SCRIPT_PATH")/.." && pwd)" # shellcheck source=../lib/detect-vaapi.sh source "$ROOT/lib/detect-vaapi.sh" -- cgit v1.2.3