feat: link executable to local bin

This commit is contained in:
ayo 2026-06-07 16:50:21 +02:00
parent 3c59d5c840
commit e487723807

View file

@ -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