feat: use installation dir for interpreter

This commit is contained in:
ayo 2026-06-07 18:03:27 +02:00
parent a5da4411f3
commit b7d4b1ac5e
2 changed files with 4 additions and 1 deletions

View file

@ -21,3 +21,6 @@ chmod u+x $INSTALL_DIR/tts.py
# ln to bin # ln to bin
ln $INSTALL_DIR/tts.py $EXECUTABLE_BIN/tts ln $INSTALL_DIR/tts.py $EXECUTABLE_BIN/tts
# final instructions
echo "\n\nInstallation done! Now run: tts --help"

2
tts.py
View file

@ -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 ## TODO
# - [ ] lower resolution output by default so bluetooth headsets do not struggle # - [ ] lower resolution output by default so bluetooth headsets do not struggle