refactor: 脚本及配置文件命名统一用 _ 分隔
将 .sh/.bat 脚本与 .js/.plist/.Dockerfile 等文件中以 - 分隔的文件名 改为 _ 分隔,dcloud-renew 目录改为 dcloud、script_nuance 目录改为 nuance,并同步更新脚本内部引用与 README 路径。 Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com>
This commit is contained in:
32
nuance/exspeech.sh
Normal file
32
nuance/exspeech.sh
Normal file
@@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
|
||||
. ~/bin/platform.sh
|
||||
|
||||
#if [ "$1" == '' ] then
|
||||
# echo "Which ExSpeech?"
|
||||
# echo -n "Please enter an ExSpeech version, e.g. 2006-02-02: "
|
||||
# read selection
|
||||
#else
|
||||
# selection=$1
|
||||
#fi
|
||||
|
||||
echo "Use current ExSpeech version:"
|
||||
selection='current'
|
||||
|
||||
# todo: check existence of osr installation!
|
||||
if [ "$PLATFORM" == 'aachen_windows' ]
|
||||
then
|
||||
echo "ExSpeech $selection isn't implemented on Aachen Windows."
|
||||
elif [ "$PLATFORM" == 'aachen_linux' ]
|
||||
then
|
||||
echo "ExSpeech $selection isn't implemented on Aachen Linux."
|
||||
elif [ "$PLATFORM" == 'burlington_linux' ]
|
||||
then
|
||||
. /res/tools/ExSpeech/current/setenv.sh
|
||||
echo "ExSpeech $selection was successfully configured on Burlington Linux."
|
||||
elif [ "$PLATFORM" == 'home_windows' ]
|
||||
then
|
||||
echo "ExSpeech $selection isn't implemented on Home Windows."
|
||||
else
|
||||
echo "Unknown System! Nothing was configured."
|
||||
fi
|
||||
Reference in New Issue
Block a user