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