From b7d4b1ac5ed60fe8a376cba63613eb0acb562765 Mon Sep 17 00:00:00 2001 From: Ayo Date: Sun, 7 Jun 2026 18:03:27 +0200 Subject: [PATCH] feat: use installation dir for interpreter --- install.sh | 3 +++ tts.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 9146d83..6774b33 100644 --- a/install.sh +++ b/install.sh @@ -21,3 +21,6 @@ chmod u+x $INSTALL_DIR/tts.py # ln to bin ln $INSTALL_DIR/tts.py $EXECUTABLE_BIN/tts + +# final instructions +echo "\n\nInstallation done! Now run: tts --help" diff --git a/tts.py b/tts.py index d9b251a..7cadca1 100755 --- a/tts.py +++ b/tts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env -S bash -c 'exec "`dirname $0`/.venv/bin/python" "$0" "$@"' +#!/usr/bin/env -S bash -c 'exec "$HOME/.local/lib/simple-tts/.venv/bin/python" "$0" "$@"' ## TODO # - [ ] lower resolution output by default so bluetooth headsets do not struggle