feat: use installation dir for interpreter
This commit is contained in:
parent
a5da4411f3
commit
b7d4b1ac5e
2 changed files with 4 additions and 1 deletions
|
|
@ -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
2
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
|
## TODO
|
||||||
# - [ ] lower resolution output by default so bluetooth headsets do not struggle
|
# - [ ] lower resolution output by default so bluetooth headsets do not struggle
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue