将 .sh/.bat 脚本与 .js/.plist/.Dockerfile 等文件中以 - 分隔的文件名 改为 _ 分隔,dcloud-renew 目录改为 dcloud、script_nuance 目录改为 nuance,并同步更新脚本内部引用与 README 路径。 Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com>
18 lines
256 B
Bash
Executable File
18 lines
256 B
Bash
Executable File
#!/bin/bash
|
|
|
|
get_char()
|
|
{
|
|
SAVEDSTTY=`stty -g`
|
|
stty -echo
|
|
stty cbreak
|
|
dd if=/dev/tty bs=1 count=1 2> /dev/null
|
|
stty -raw
|
|
stty echo
|
|
stty $SAVEDSTTY
|
|
}
|
|
|
|
echo "Press any key to exit!"
|
|
char=`get_char`
|
|
|
|
# read -p "press Enter to exit!"
|
|
# echo "Bye!" |