From e4877238072fde4467d4129e56d4376f9499c1df Mon Sep 17 00:00:00 2001 From: Ayo Date: Sun, 7 Jun 2026 16:50:21 +0200 Subject: [PATCH] feat: link executable to local bin --- install.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install.sh b/install.sh index b9edbfe..9146d83 100644 --- a/install.sh +++ b/install.sh @@ -1,6 +1,7 @@ #! /bin/sh INSTALL_DIR=$HOME/.local/lib/simple-tts +EXECUTABLE_BIN=$HOME/.local/bin echo "Installing to: $INSTALL_DIR" @@ -14,3 +15,9 @@ python -m pip install -r $INSTALL_DIR/requirements.txt # deactivate environment deactivate + +# make executable +chmod u+x $INSTALL_DIR/tts.py + +# ln to bin +ln $INSTALL_DIR/tts.py $EXECUTABLE_BIN/tts