termux-api: Fix mixup of tts methods
This commit is contained in:
parent
12978f7880
commit
621ac5f19a
@ -1,6 +1,6 @@
|
|||||||
TERMUX_PKG_HOMEPAGE=http://termux.com/add-ons/api/
|
TERMUX_PKG_HOMEPAGE=http://termux.com/add-ons/api/
|
||||||
TERMUX_PKG_DESCRIPTION="Termux API commands"
|
TERMUX_PKG_DESCRIPTION="Termux API commands"
|
||||||
TERMUX_PKG_VERSION=0.4.51
|
TERMUX_PKG_VERSION=0.5
|
||||||
|
|
||||||
termux_step_make_install () {
|
termux_step_make_install () {
|
||||||
mkdir -p $TERMUX_PREFIX/bin
|
mkdir -p $TERMUX_PREFIX/bin
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/system/bin/sh
|
#!/system/bin/sh
|
||||||
|
|
||||||
termux-api SpeechToText --es engine LIST_AVAILABLE
|
termux-api TextToSpeech --es engine LIST_AVAILABLE
|
||||||
|
@ -30,4 +30,4 @@ case "$1" in
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
termux-api SpeechToText $PARAMS
|
termux-api TextToSpeech $PARAMS
|
||||||
|
Loading…
Reference in New Issue
Block a user